dup_object


Description:

public Object? dup_object ()

Retrieves the object inside this.

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.

Parameters:

this

a node holding a JSON object

Returns:

the JSON object