Clear JSON array.
%JSON_ArrayClear( INT in handle )
Function removes all items from JSON array.
Exception is thrown if handle to array is invalid.
INT _arr _arr := %JSON_CreateArray() %JSON_ArraySetLength(_arr, 1) %JSON_ArraySetValue(_arr, 1, 1.234) %JSON_ArrayClear(_arr) %JSON_FreeArrayHandle(_arr)
Related pages:
JSON format manipulation functionsFunction arguments - types
Pridať komentár
Pridať komentár