json_object_has_value

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

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

Parameters
  • 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
Returns

True if has, false if not

Errors
  • If passed handle is not a valid object
Назад
Верх