json_object_get_string

Синтаксис

native json_object_get_string(const JSON:object, const name[], buffer[], maxlen, bool:dot_not = false);

Употреба

object
Object handle
name
Key name
buffer
Buffer to copy string to
maxlen
Maximum size of the buffer
dot_not
True to use dot notation, false to not

Описание

Gets string data from the object.

Забележка

If dot notation is used some values may be inaccessible
because valid names in JSON can contain dots.

Връщаща стойност

The number of cells written to the buffer

Грешка

If passed handle is not a valid object