[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Create a JSON array
Source position: fpjson.pp line 612
function CreateJSONArray( |
const Data: array of Const |
):TJSONArray; |
Data |
|
Data to include in the array. |
The TJSONArray instance representing Data
CreateJSONArray retrieves the class registered to represent JSON array 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 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 TJSONArray |