%JSON_ArrayAppendArray function


Function

Append array to JSON array

Declaration
%JSON_ArrayAppendArray(
    INT in handle, 
    INT in array
 )
Parameters
handleHandle to parent JSON array.
arrayHandle to JSON array
Return value
None


Description

Funcion append array to JSON array

Exception is thrown if handle to parent array or handle to array is invalid.

Example
 INT _arr
 _arr := %JSON_CreateArray()

 INT _tmp
 _tmp := %JSON_CreateArray()
 
 %JSON_ArrayAppendArray(_arr, _tmp)

 %JSON_FreeArrayHandle(_arr)
 %JSON_FreeArrayHandle(_tmp)
Napíšte komentár