set_array


Description:

public void set_array (Array array)

Sets array inside this.

The reference count of 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 initialized to `JSON_NODE_ARRAY`

array

a JSON array