Get value at index from JSON array.
UNIVAL %JSON_ArrayGetValue( INT in handle, INT in index )
Value of type BOOL, INT, REAL or TEXT, or invalid value.
Function get value at index from JSON array.
Exception is thrown if object at index is not value, handle to JSON array is invalid or index is out of range.
INT _arr _arr := %JSON_ArrayFromString('["IPESOFT"]') TEXT _txt _txt := %JSON_ArrayGetValue(_arr, 1) %JSON_FreeArrayHandle(_arr)
Related pages:
JSON format manipulation functionsFunction arguments - types
0 komentárov