Get object in field from JSON object.
INT %JSON_ObjectGetObject( INT in handle, TEXT in field )
Funcion get array in field from JSON object.
Exception is thrown if object at index is not array, handle to JSON object is invalid or field does not exists.
INT _obj _obj := %JSON_ObjectFromString(ModuleInfo) INT _tmp _tmp := %JSON_ObjectGetObject(_obj, "client_info") %JSON_FreeObjectHandle(_obj) %JSON_FreeObjectHandle(_tmp)
Related pages:
JSON format manipulation functionsFunction arguments - types
Pridať komentár
Pridať komentár