4D v14.3JSON PARSE ARRAY |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
JSON PARSE ARRAY
JSON PARSE ARRAY
The JSON PARSE ARRAY command parses the contents of a JSON-formatted string and puts the data extracted into the objArray array. This command deserializes the JSON data; it performs the opposite action of the JSON Stringify array array command. In jsonString, pass the JSON-formatted string whose contents you want to parse. This string must be formatted correctly, otherwise a parsing error is generated. In objArray, pass the object to receive the parsing results. In this example, data from fields of the records in a table are extracted and then placed in object arrays: C_OBJECT($ref) |
PROPERTIES
Product: 4D
HISTORY
SEE ALSO
JSON Parse ARTICLE USAGE
4D Language Reference ( 4D v14 R2) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||