changes.mady.by.user D2000 Dev Team
Uložené nov 25, 2019
changes.mady.by.user D2000 Doc Team
Uložené jan 12, 2022
Check Checks if there is a value at the given index in the 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 checks if there is a value of type BOOL, INT, REAL, TEXT or invalid value at the given index 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],{},514]") BOOL _is_value _is_value := %JSON_FreeArrayHandle(_arr, 3) %JSON_DeleteArray(_arr)
JSON format manipulation functionsFunction arguments - types