grip_json_object_set_value

Sets a value in the object.

Syntax

native bool:grip_json_object_set_value(GripJSONValue:object, const name[], const GripJSONValue:value, bool:dot_not = false)

Usage

object Object handle
name Key name
value JSON handle to set
dot_not True to use dot notation, false to not

Return

True — if succeed, false otherwise

Notes

If dot notation is used some values may be inaccessible

It also removes the old value if any.

Errors

If passed handle is not a valid object

Defined in grip.inc at line 921 . This documentation was automatically generated from source.