json_array_get_string

Syntax

native json_array_get_string(const JSON:array, index, buffer[], maxlen);

Usage

array
Array handle
index
Position in the array (starting from 0)
buffer
Buffer to copy string to
maxlen
Maximum size of the buffer

Description

Gets string data from the array.

Return

The number of cells written to the buffer

Error

If passed handle is not a valid array