JSON factory: Get the JSONData class types to use.
Source position: fpjson.pp line 785
function GetJSONInstanceType( |
AType: TJSONInstanceType |
AType |
|
Data type for which to return the class. |
The class to instantiate for data of type AType.
GetJSONInstanceType can be used to retrieve the registered descendents of the TJSONData class, one for each possible kind of data. The result is the class type used to instantiate data of type AType.
The JSON parser and the CreateJSON function will use the registered types to instantiate JSON Data. When the parser encounters a value of type AType, it will instantiate a class of the type returned by this function. By default, the classes in the fpJSON unit are returned.
|
Create a JSON data item. |
|
|
Base (abstract) object for all JSON based data types. |
|
|
Convert JSON string to JSON data structure. |