json_object_get_value

Синтаксис

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

Употреба

object
Object handle
name
Key name
dot_not
True to use dot notation, false to not

Описание

Gets a value from the object.

Забележка

Needs to be freed using json_free() native.

Забележка

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

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

JSON handle, Invalid_JSON if error occurred

Грешка

If passed handle is not a valid object