Remove item at given index from JSON array.
%JSON_ArrayRemoveItem( INT in handle, INT in index )
None
Function remove item at given index from JSON array
Exception is thrown if handle to JSON array is invalid or index is out of range.
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
Pridať komentár
Pridať komentár