[ CCode ( has_construct_function = false ) ]
public Node (NodeType type)
Creates a new node holding the given type
.
This is a convenience function for [[email protected]] and [[email protected]], and it's the equivalent of:
```c json_node_init (json_node_alloc (), type); ```
type |
the type of the node to create |
the newly created node |