Checks if there is an array in a given field in the JSON object.
BOOL %JSON_ObjectIsArray( INT in handle, TEXT in field )
@TRUE if in given field is array, else @FALSE.
Function checks if there is an array in a given field in the JSON object.
Exception is thrown if handle to JSON object is invalid or field does not exists.
INT _obj _obj := %JSON_ObjectFromString(ModuleInfo) BOOL _is_array _is_array := %JSON_ObjectIsArray(_obj, "client_info") %JSON_FreeObjectHandle(_obj)
Related pages:
JSON format manipulation functionsFunction arguments - types
Pridať komentár
Pridať komentár