dup_array


Description:

public Array? dup_array ()

Retrieves the JSON array inside this.

The reference count of the returned array is increased.

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

Parameters:

this

a node holding an array

Returns:

the JSON array with its reference count increased.