native

json_array_get_string

Syntax

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

Description

Gets string data from the array.

Parameters

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

Return

The number of cells written to the buffer

Error

If passed handle is not a valid array