System.JSON
RTL API of classes and routines to work with JavaScript Object Notation or JSON, a human-readable format for serialized data, used mainly as an alternative to XML.
There are classes in this unit for each of the basic types that JSON supports:
- Null (TJSONNull)
- Boolean (TJSONBool)
- Number (TJSONNumber)
- String (TJSONString)
- Array (TJSONArray)
- Object (TJSONObject)
| Package | rtl230.bpl |
|---|
Contents
Units
| System.JSON | RTL API of classes and routines to work with JavaScript Object Notation or JSON, a human-readable format for serialized data, used mainly as an alternative to XML. |
| System.JSON.BSON | API to work with data in BSON format. |
| System.JSON.Builders | |
| System.JSON.Readers | |
| System.JSON.Types | |
| System.JSON.Utils | Provides the TJsonTextUtils class. |
| System.JSON.Writers | API to create JSON data. |
Classes
| EJSONException | JSON exception handler. |
| TJSONAncestor | The abstract ancestor class for most JSON classes. |
| TJSONArray | Implements a JSON array. |
| TJSONArrayEnumerator | Iterator for items of JSON arrays. |
| TJSONBool | JSON boolean value. |
| TJSONByteReader | Implements generalized byte consumption of a JSON parser. |
| TJSONFalse | Implements a JSON false value. |
| TJSONNull | Implements a JSON null value. |
| TJSONNumber | Implements a JSON number. |
| TJSONObject | Implements a JSON object. |
| TJSONPair | Implements a key-value JSON pair. |
| TJSONPairEnumerator | Enumerator for JSON pairs. |
| TJSONPathParser | Parser of a JSON path. |
| TJSONString | Implements a JSON string. |
| TJSONTrue | Implements a JSON true value. |
| TJSONValue | Represents the ancestor class for all the JSON classes defining string, object, array, number, boolean, true, false, and null values. |
Routines
| FloatToJson | Returns the specified floating-point value in JSON format. |
| GetJSONFormat | Returns the US format settings. |
| JsonToFloat | Returns the specified JSON floating-point value as a double. |
| TryJsonToFloat | Fills Value with the specified JSON floating-point value as a double, and returns True on success or False if the specified value is not a valid JSON floating-point value. |
Types
| TInt15 | Hex digit integer. |