set_object


Description:

public void set_object (Object? object)

Sets objects inside this.

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:

this

a node initialized to `JSON_NODE_OBJECT`

object

a JSON object