Node


Description:

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

Parameters:

type

the type of the node to create

Returns:

the newly created node




2022 vala-language.org