Node


Description:

public Node (NodeType type)

Creates a new Node of type.

This is a convenience function for Node.alloc and init, and it's the equivalent of:

     json_node_init (json_node_alloc (), type);

Parameters:

type

a NodeType

Returns:

the newly created Node