Builder.getRoot
json.node.Node getRoot()Returns the root of the currently constructed tree.
if the build is incomplete (ie: if there are any opened objects, or any open object members and array elements) then this function will return NULL.
Returns
the root node