ezjson_object_get_value
Syntax
native EzJSON:ezjson_object_get_value(const EzJSON:object, const name[], bool:dot_not = false);
Usage
| Parameter | Description |
|---|---|
| object | Object handle |
| name | Key name |
| dot_not | True to use dot notation, false to not |
Description
Gets a value from the object.
Note
Needs to be freed using ezjson_free() native.
If dot notation is used some values may be inaccessible because valid names in JSON can contain dots.
Return
EzJSON handle, EzInvalid_JSON if error occurred
Error
If passed handle is not a valid object