native
json_array_get_value
Syntax
native JSON:json_array_get_value(const JSON:array, index);
Description
Gets a value from the array.
Parameters
| array | Array handle |
|---|---|
| index | Position in the array (starting from 0) |
Note
Needs to be freed using json_free() native.
Return
JSON handle, Invalid_JSON if error occurred
Error
If passed handle is not a valid array