Check if there is value at given index in JSON array.
BOOL %JSON_ArrayIsValue( INT in handle, INT in index )
@TRUE if at given index is value of type BOOL, INT, REAL, TEXT or invalid value, else @FALSE.
Function check if there is value of type BOOL, INT, REAL, TEXT or invalid value 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],{},514]") BOOL _is_value _is_value := %JSON_FreeArrayHandle(_arr, 3) %JSON_DeleteArray(_arr)
Related pages:
JSON format manipulation functionsFunction arguments - types
0 komentárov