take_object


Description:

public void take_object (owned Object object)

Sets object inside this.

The reference count of object is not increased.

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