json_object_has_value

Синтаксис

native bool:json_object_has_value(const JSON:object, const name[], JSONType:type = JSONError, bool:dot_not = false);

Употреба

object
Object handle
name
Key name
type
Type of value, if JSONError type will not be checked
dot_not
True to use dot notation, false to not

Описание

Checks if the object has a value with a specific name and type.

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

True if has, false if not

Грешка

If passed handle is not a valid object