ezjson_object_has_value

Syntax

native bool:ezjson_object_has_value(const EzJSON:object, const name[], EzJSONType:type = EzJSONError, bool:dot_not = false);

Usage

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

Description

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

Return

True if has, false if not

Error

If passed handle is not a valid object