Node.dupObject

Retrieves the object inside node.

The reference count of the returned object is increased.

It is a programmer error to call this on a node which doesn’t hold an object value. Use JSON_NODE_HOLDS_OBJECT first.

Returns

the JSON object