[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Create a JSON data item
Source position: fpjson.pp line 578
function CreateJSON: TJSONNull; |
Data: Boolean |
):TJSONBoolean; |
Data: Integer |
):TJSONIntegerNumber; |
Data: Int64 |
):TJSONInt64Number; |
Data: QWord |
):TJSONQWordNumber; |
Data: TJSONFloat |
):TJSONFloatNumber; |
Data: TJSONStringType |
):TJSONString; |
The TJSONData descendant representing the value in Data
Data |
|
The data to create as a JSON data item. |
Data |
|
The data to create as a JSON data item. |
Data |
|
The data to create as a JSON data item. |
Data |
|
The data to create as a JSON data item. |
Data |
|
The data to create as a JSON data item. |
Data |
|
The data to create as a JSON data item. |
CreateJSON will create a JSON Data item depending on the type of data passed to it, and will use the classes returned by GetJSONInstanceType to do so. The classes to be used can be set using the SetJSONInstanceType.
The JSON parser uses these functions to create instances of TJSONData.
None.
|
JSON factory: Get the JSONData class types to use |
|
|
JSON factory: Set the JSONData class types to use |
|
|
Convert JSON string to JSON data structure |
|
|
Create a JSON array |
|
|
Create a JSON object |