Check if there is array at given index in JSON array.
BOOL %JSON_ArrayIsArray( INT in handle, INT in index )
@TRUE if at given index is array, else @FALSE.
Function check if there is array at given index in JSON array.
Exception is thrown if handle to JSON array is invalid or index is out of range.
INT _arr _arr := %JSON_ArrayFromString("[[1,2,3],{}]") BOOL _is_array _is_array := %JSON_ArrayIsArray(_arr, 1) %JSON_FreeArrayHandle(_arr)
Related pages:
JSON format manipulation functionsFunction arguments - types
Pridať komentár
Pridať komentár