Append array to Appends a new array at the end of the JSON array.
Declaration
Blok kódu
language
esl
theme
Confluence
%JSON_ArrayAppendArray(
INT in handle,
INT in array
)
Parameters
handle
Handle to parent the JSON array into which the new item will be inserted.
array
Handle to JSON array.
Return value
None.
Description
Function append array to The function inserts a new array at the end of the JSON array.
Exception An exception is thrown if handle to parent array or handle to array is invalidit is an invalid JSON array handle or an invalid JSON array handle.
Example
Blok kódu
language
esl
theme
RDark
INT _arr
_arr := %JSON_CreateArray()
INT _tmp
_tmp := %JSON_CreateArray()
%JSON_ArrayAppendArray(_arr, _tmp)
%JSON_FreeArrayHandle(_arr)
%JSON_FreeArrayHandle(_tmp)