Funcion get object at The function gets an object on the specified index from the JSON array.
Exception is thrown if object at index is not If the item type is not an object, the handle to on the JSON array is invalid, or the index is out of rangeinvalid, an exception is thrown.
Example
Blok kódu
language
esl
theme
RDark
INT _arr
_arr := %JSON_ArrayFromString('[{"Name":"John"}]')
INT _obj
_obj := %JSON_ArrayGetObject(_arr, 1)
%JSON_FreeObjectHandle(_obj)
%JSON_FreeArrayHandle(_arr)