Package com.github.tnakamot.json.parser
This package provides classes to parse JSON text based on RFC 8259.
JSONLexer splits a given JSONText into a sequence of tokens. JSONParser semantically analyzes the sequence of tokens and
generate JSONValue.
- See Also:
- RFC 8259
-
Class Summary Class Description JSONLexer An implementation of lexical analyzer for JSON texts.JSONParser An implementation of a parser of JSON texts.JSONParserErrorHandlingOptions A data structure to hold options to change the behavior of the JSON parser when it encounters a questionable JSON token and switches to change the error message formatJSONParserException.JSONParserErrorHandlingOptions.Builder Builder class ofJSONParserErrorHandlingOptions.JSONParserResult Result of parsing a JSON text. -
Exception Summary Exception Description JSONParserException Thrown when a JSON lexical analyzer fails to tokenize a given JSON text or the parser fails due to a syntax error.