- <init>
Creates a new scanner There is also a java.io.InputStream version of this
constructor.
- addToLastNode
Update the path of the current values of the current object node
- checkMissingField
Throws an IllegalStateException if the scanned value has no field
- closeDatatypeObject
Closes the JSON object and further checks if the node path should be updated. It
returns a #LITERAL,
- closeObject
Close the JSON object: - decrement the tree level of 1; - decrement the tree
level of 1 one more tim
- decrNodeObjectPath
Decrement the tree level of 1.
- errorMessage
Helper method to print an error while scanning a JSON document with line and
column information.
- getDatatypeURI
Return the datatype URI.
- getLiteralText
Fills Lucene TermAttribute with the current string buffer.
- getNextToken
Resumes scanning until the next regular expression is matched, the end of input
is encountered or an
- getNodePath
Returns the node path of the token
- incrNodeObjectPath
Add an object to the current node path