steal_root


Description:

[ Version ( since = "1.4" ) ]
public Node? steal_root ()

Steals the top level node from the parsed JSON stream.

This will be `NULL` in the same situations as [method@Json.Parser.get_root] return `NULL`.

Parameters:

this

a parser

Returns:

the root node