Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.
JSON

%JSON_ArrayAppendArray function


Function

Append array to Appends a new array at the end of the JSON array.

Declaration


Blok kódu
languageesl
themeConfluence
%JSON_ArrayAppendArray(
    INT in handle, 
    INT in array
 )


Parameters


handleHandle to
parent
the JSON array into which the new item will be inserted.
arrayHandle to JSON array.


Return value
None.


Description

The function inserts a new array at the end of the JSON array.

An exception is thrown if it is an invalid JSON array handle or an invalid JSON array handle.

Funcion append array to JSON array

Example


Blok kódu
languageesl
themeRDark
 INT _arr
 _arr := %JSON_CreateArray()

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

 %JSON_FreeArrayHandle(_arr)
 %JSON_FreeArrayHandle(_tmp)