Node.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.

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);

Parameters

typethe type of the node to create

Returns

the newly created node