Creates a new node holding the given type.
This is a convenience function for json.node.Node.alloc and json.node.Node.init_, and it's the equivalent of:
json_node_init (json_node_alloc (), type);
the type of the node to create
the newly created node
Creates a new node holding the given type.
This is a convenience function for json.node.Node.alloc and json.node.Node.init_, and it's the equivalent of: