Get array at index from JSON array.
INT %JSON_ArrayGetArray( INT in handle, INT in index )
Funcion get array at index from JSON array.
Exception is thrown if object at index is not array, handle to JSON array is invalid or index is out of range.
INT _arr _arr := %JSON_ArrayFromString('[[1,2,3],[4,5,6]]') INT _tmp _tmp := %JSON_ArrayGetArray(_arr, 1) %JSON_FreeArrayHandle(_tmp) %JSON_FreeArrayHandle(_arr)
Related pages:
JSON format manipulation functionsFunction arguments - types
Pridať komentár
Pridať komentár