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 | rtl280.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 | API to read and write JSON data. Includes wrappers for the TJSONWriter and TJSONReader classes. |
System.JSON.Readers | API to read JSON data. |
System.JSON.Serializers | |
System.JSON.Types | Implements types that are used to manage JSON data. |
System.JSON.Utils | Provides the TJsonTextUtils class. |
System.JSON.Writers | API to create JSON data. |
Classes
EJSONException | JSON exception handler. |
EJSONParseException | JSON exception generated by a JSON parser code. |
EJSONPathException | JSON exception generated by a JSON path parser code. |
TJSONAncestor | The abstract ancestor class for most JSON classes. |
TJSONArray | Implements a JSON array. |
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 (deprecated) | Enumerator for JSON pairs. |
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
DecimalToHex | |
FloatToJson | Returns the specified floating-point value in JSON format. |
GetJSONFormat | Returns the US format settings. |
HexToDecimal | |
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
TJSONPathParser | Parser of a JSON path. |
Variables
DecimalToHexMap | |
HexToDecimalMap | |
MaximumNestingLevel |