Node.copy

Copies node.

If the node contains complex data types, their reference counts are increased, regardless of whether the node is mutable or immutable.

The copy will be immutable if, and only if, node is immutable. However, there should be no need to copy an immutable node.

class Node
copy
()

Return Value

Type: json.node.Node

the copied of the given node