native

json_get_string

Syntax

native json_get_string(const JSON:value, buffer[], maxlen);

Description

Gets string data.

Parameters

value JSON handle
buffer Buffer to copy string to
maxlen Maximum size of the buffer

Return

The number of cells written to the buffer

Error

If passed value is not a valid handle