System.JSON

From RAD Studio API Documentation
Jump to: navigation, search

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:

Package rtl280.bpl

Units

System.JSONRTL 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.BSONAPI to work with data in BSON format.
System.JSON.BuildersAPI to read and write JSON data. Includes wrappers for the TJSONWriter and TJSONReader classes.
System.JSON.ReadersAPI to read JSON data.
System.JSON.Serializers
System.JSON.TypesImplements types that are used to manage JSON data.
System.JSON.UtilsProvides the TJsonTextUtils class.
System.JSON.WritersAPI to create JSON data.


Classes

EJSONExceptionJSON exception handler.
EJSONParseExceptionJSON exception generated by a JSON parser code.
EJSONPathExceptionJSON exception generated by a JSON path parser code.
TJSONAncestorThe abstract ancestor class for most JSON classes.
TJSONArrayImplements a JSON array.
TJSONBoolJSON boolean value.
TJSONByteReaderImplements generalized byte consumption of a JSON parser.
TJSONFalseImplements a JSON false value.
TJSONNullImplements a JSON null value.
TJSONNumberImplements a JSON number.
TJSONObjectImplements a JSON object.
TJSONPairImplements a key-value JSON pair.
TJSONPairEnumerator (deprecated)Enumerator for JSON pairs.
TJSONStringImplements a JSON string.
TJSONTrueImplements a JSON true value.
TJSONValueRepresents the ancestor class for all the JSON classes defining string, object, array, number, boolean, true, false, and null values.

Routines

DecimalToHex
FloatToJsonReturns the specified floating-point value in JSON format.
GetJSONFormatReturns the US format settings.
HexToDecimal
JsonToFloatReturns the specified JSON floating-point value as a double.
TryJsonToFloatFills 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

TJSONPathParserParser of a JSON path.

Variables

DecimalToHexMap
HexToDecimalMap
MaximumNestingLevel