get_root


Description:

public unowned Node? get_root ()

Retrieves the top level node from the parsed JSON stream.

If the parser input was an empty string, or if parsing failed, the root will be `NULL`. It will also be `NULL` if it has been stolen using [[email protected]_root].

Parameters:

this

a parser

Returns:

the root node.




2022 vala-language.org