json_object_get_bool

Синтаксис

native bool:json_object_get_bool(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 boolean value from the object.

Забележка

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

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

Boolean value

Грешка

If passed handle is not a valid object