[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Create a JSON object
Source position: fpjson.pp line 586
function CreateJSONObject( |
Data: array of Const |
):TJSONObject; |
Data |
|
Data as (name, value) pairs to create a JSON object from |
The TJSONObject instance representing Data
CreateJSONObject retrieves the class registered to represent JSON object data, and creates an instance of this class, passing Data to the constructor. For the Data array the same type conversion rules as for the TJSONObject.Create constructor apply.
if one of the elements in Data cannot be converted to a JSON structure, an exception will be raised.
|
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 data item |
|
|
Class of TJSONObject |