Get length of JSON array.
INT %JSON_ArrayGetLength( INT in handle )
Number of items in JSON array.
Function get length of JSON array.
Exception is thrown if handle to JSON array is invalid.
INT _arr _arr := %JSON_ArrayFromString('[[1,2,3],[4,5,6]]') INT _length _length := %JSON_ArrayGetLength(_arr) %JSON_FreeArrayHandle(_arr)
Related pages:
JSON format manipulation functionsFunction arguments - types
0 komentárov