Signature
native json_object_get_string(const JSON:object, const name[], buffer[], maxlen, bool:dot_not = false);
Description
Gets string data 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
- buffer — Buffer to copy string to
- maxlen — Maximum size of the buffer
- dot_not — True to use dot notation, false to not
Returns
The number of cells written to the buffer
Errors
- If passed handle is not a valid object