Node.setParent

Sets the parent node for the given node.

It is an error to call this with an immutable parent.

The node may be immutable.

class Node
void
setParent

Parameters

parent json.node.Node

the parent node