Check if there is object in given field in JSON object.
BOOL %JSON_ObjectIsObject( INT in handle, TEXT in field )
@TRUE if in given field is object, else @FALSE.
Function check if there is object in given field in 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_object _is_object := %JSON_ObjectIsObject(_obj, "client_info") %JSON_FreeObjectHandle(_obj)
Related pages:
JSON format manipulation functionsFunction arguments - types
Pridať komentár
Pridať komentár