Get text representation of JSON array.
TEXT %JSON_ArrayToString( INT in handle, BOOL in pretty )
None
Function get text representation of JSON array.
Exception is thrown if handle to JSON array is invalid.
INT _arr _arr := %JSON_CreateArray() %JSON_ArrayAppendValue(_arr, "Will Smith") %JSON_ArrayAppendValue(_arr, "John Wick") TEXT _txt _txt := %JSON_ArrayToString(_arr) %JSON_FreeArrayHandle(_arr)
Related pages:
JSON format manipulation functionsFunction arguments - types
0 komentárov