Retrieves a pointer to the root node set using [method@Json.
Generator.set_root].
a generator
the root node