Node.setArray

Sets array inside node.

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.

class Node
void
setArray

Parameters

array json.array.Array

a JSON array