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