Removes an item at the given index from the JSON array.
%JSON_ArrayRemoveItem( INT in handle, INT in index )
None
Function removes an item at the given index from the JSON array
If the handle on the JSON array is invalid or the index is invalid, an exception is thrown.
INT _arr _arr := %JSON_ArrayFromString('[[1,2,3],[4,5,6]]') %JSON_ArrayRemoveItem(_arr, 1) %JSON_FreeArrayHandle(_arr)
Related pages:
JSON format manipulation functionsFunction arguments - types
0 komentárov