Appends a new object at the end of the JSON array.
%JSON_ArrayAppendObject( INT in handle, INT in object )
The function appends a new object at the end of the JSON array.
If it is an invalid handle on a JSON array or an invalid handle on an appended JSON object, an exception is thrown.
INT _arr _arr := %JSON_CreateArray() INT _tmp _tmp := %JSON_CreateObject() %JSON_ArrayAppendObject(_arr, _tmp) %JSON_FreeArrayHandle(_arr) %JSON_FreeObjectHandle(_tmp)
Related pages:
JSON format manipulation functionsFunction arguments - types
Pridať komentár
Pridať komentár