json_array_get_value
Syntax
native JSON:json_array_get_value(const JSON:array, index);
Usage
| Parameter | Description |
|---|---|
| array | Array handle |
| index | Position in the array (starting from 0) |
Description
Gets a value from the array.
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