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 rtl230.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.Builders
System.JSON.Readers
System.JSON.Types
System.JSON.UtilsProvides the TJsonTextUtils class.
System.JSON.WritersAPI to create JSON data.


Classes

EJSONExceptionJSON exception handler.
TJSONAncestorThe abstract ancestor class for most JSON classes.
TJSONArrayImplements a JSON array.
TJSONArrayEnumeratorIterator for items of JSON arrays.
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.
TJSONPairEnumeratorEnumerator for JSON pairs.
TJSONPathParserParser of a JSON path.
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

FloatToJsonReturns the specified floating-point value in JSON format.
GetJSONFormatReturns the US format settings.
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

TInt15Hex digit integer.