Signature
native bool:json_object_get_bool(const JSON:object, const name[], bool:dot_not = false);
Description
Gets a boolean value from the object.
Notes
-
If dot notation is used some values may be inaccessible
because valid names in JSON can contain dots.
Parameters
- object — Object handle
- name — Key name
- dot_not — True to use dot notation, false to not
Returns
Boolean value
Errors
- If passed handle is not a valid object