Replace item at given index in JSON array by array.
%JSON_ArraySetArray( INT in handle, INT in index, INT in array )
None
Function replace item at given index in JSON array by array.
Exception is thrown if handle to parent JSON array is invalid, handle to array is invalid or index is out of range.
INT _arr _arr := %JSON_CreateArray() INT _tmp _tmp := %JSON_CreateArray() %JSON_ArraySetLength(_arr, 1) %JSON_ArraySetArray(_arr, 1, _tmp) %JSON_FreeArrayHandle(_arr) %JSON_FreeArrayHandle(_tmp)
Related pages:
JSON format manipulation functionsFunction arguments - types
Pridať komentár
Pridať komentár