Gets an object in the field from the JSON object.
INT %JSON_ObjectGetObject( INT in handle, TEXT in field )
Funciton gets an array in the field from the JSON object.
Exception is thrown if object at index is not array, handle to JSON object is invalid or the 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
0 komentárov