changes.mady.by.user D2000 Dev Team
Uložené nov 25, 2019
changes.mady.by.user D2000 Doc Team
Uložené jan 03, 2022
Check Determines if there is a JSON array at a given index position in the JSON array.
BOOL %JSON_ArrayIsArray( INT in handle, INT in index )
@TRUE if at given index there is a JSON array at that position, else @FALSE@FALSE otherwise.
Function check if The function determines whether there is an array at the given index position in the JSON array.
Exception is thrown if handle to If the index is invalid or the handle on the JSON array is invalid or index is out of range, an exception is thrown.
INT _arr _arr := %JSON_ArrayFromString("[[1,2,3],{}]") BOOL _is_array _is_array := %JSON_ArrayIsArray(_arr, 1) %JSON_FreeArrayHandle(_arr)
JSON format manipulation functionsFunction arguments - types