# Functions
AddChild adds 'n' as the new last child to 'parent'.
CreateJSONNode creates a JSON Node.
CreateNode creates a generic *Node.
CreateXMLNode creates an XML Node.
IsJSON checks if a Node is of JSON.
IsJSONArr checks if a given Node is of JSONArr type.
IsJSONObj checks if a given Node is of JSONObj type.
IsJSONProp checks if a given Node is of JSONProp type.
IsJSONRoot checks if a given Node is of JSONRoot type.
IsJSONValue checks if a given Node is of any JSON value types.
IsJSONValueBool checks if a given Node is of JSONValueBool type.
IsJSONValueNull checks if a given Node is of JSONValueNull type.
IsJSONValueNum checks if a given Node is of JSONValueNum type.
IsJSONValueStr checks if a given Node is of JSONValueStr type.
IsXML checks if a Node is of XML.
J1NodeToInterface translates an *idr.Node and its subtree into a JSON-marshaling friendly interface{} that includes all the idr.Node internal fields, including tree pointers.
J2NodeToInterface translates an *idr.Node and its subtree into a JSON-marshaling friendly interface{} that does not include any idr.Node internal fields, such as tree pointers.
JSONify1 json marshals a *Node verbatim.
JSONify2 JSON marshals a *Node into a minified JSON string.
JSONTypeOf returns the JSONType of a Node.
MatchAll returns all the matched nodes by an xpath query 'exprStr' against an IDR tree rooted at 'n'.
MatchAny returns true if the xpath query 'expr' against an IDR tree rooted at 'n' yields any result.
MatchSingle returns one and only one matched node by an xpath query 'exprStr' against an IDR tree rooted at 'n'.
NewJSONStreamReader creates a new instance of JSON streaming reader.
NewXMLStreamReader creates a new instance of XML streaming reader.
QueryIter initiates an xpath query specified by 'expr' against an IDR tree rooted at 'n'.
RemoveAndReleaseTree removes a node and its subtree from an IDR tree it is in and release the resources (Node allocation) associated with the node and its subtree.
XMLSpecificOf returns the XMLSpecific field of a Node.
# Constants
AttributeNode is the type of attribute Node in an IDR tree.
DisableXPathCache disables caching xpath compilation when MatchAll/MatchSingle are called.
DocumentNode is the type of the root Node in an IDR tree.
ElementNode is the type of element Node in an IDR tree.
JSONArr is the type for a Node in a JSON IDR tree whose value is an array.
JSONObj is the type for a Node in a JSON IDR tree whose value is an object.
JSONProp is the type for a Node in a JSON IDR tree who is a property.
JSONRoot is the type for the root Node in a JSON IDR tree.
JSONValueBool is the type for a Node in a JSON IDR tree who is a boolean value.
JSONValueNull is the type for a Node in a JSON IDR tree who is a null value.
JSONValueNum is the type for a Node in a JSON IDR tree who is a numeric value.
JSONValueStr is the type for a Node in a JSON IDR tree who is a string value.
TextNode is the type of text/data Node in an IDR tree.
# Variables
ErrMoreThanExpected is returned when more than expected matched nodes are found.
ErrNoMatch is returned when not a single matched node can be found.
# Structs
JSONStreamReader is a streaming JSON to *Node reader.
Node represents a node of element/data in an IDR (intermediate data representation) ingested and created by the omniparser.
XMLSpecific contains XML IDR Node specific information such as namespace.
XMLStreamReader is a streaming XML to *Node reader.