Node.setObject

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.

class Node
void
setObject

Parameters

object json.object.ObjectJson

a JSON object