Node.setObject
void setObject(json.object.ObjectWrap object = null)Sets objects inside node.
The reference count of object is increased.
If object is NULL, the node’s existing object is cleared.
It is an error to call this on an immutable node, or on a node which is not an object node.
Parameters
object | a JSON object |