Node.initArray

Initializes node to json.types.NodeType.Array and sets array into it.

This function will take a reference on array.

If the node has already been initialized once, it will be reset to the given type, and any data contained will be cleared.

class Node
initArray

Parameters

array json.array.Array

the JSON array to initialize node with, or NULL

Return Value

Type: json.node.Node

the initialized node