4D v14.3JSON Stringify array |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
JSON Stringify array
JSON Stringify array
The JSON Stringify array command converts the 4D array array into a serialized JSON array. . This command performs the opposite action of the JSON PARSE ARRAY command. In array, pass a 4D array containing the data to be serialized. This array may be of the text, real, Boolean, pointer or object type. You can pass the optional * parameter to use pretty formatting in the resulting string. This improves the presentation of JSON data by including formatting characters when it is displayed in a Web page. Conversion of a text array: C_TEXT($jsonString) Conversion of a text array containing numbers: ARRAY TEXT($phoneNumbers;0) Conversion of an object array: C_OBJECT($ref_john) Conversion of a 4D selection in an object array: C_OBJECT($jsonObject) |
PROPERTIES
Product: 4D
HISTORY
SEE ALSO
JSON PARSE ARRAY ARTICLE USAGE
4D Language Reference ( 4D v14 R2) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||