Uses of Class
com.fasterxml.jackson.core.JsonParseException
Packages that use JsonParseException
Package
Description
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser)
and generator
(JsonGenerator)
instances.Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
JSON-specific parser and generator implementation classes that
Jackson defines and uses.
Non-blocking ("async") JSON parser implementation.
-
Uses of JsonParseException in com.fasterxml.jackson.core
Methods in com.fasterxml.jackson.core that return JsonParseExceptionModifier and TypeMethodDescriptionprotected JsonParseExceptionJsonParser._constructError(String msg) Helper method for constructingJsonParseExceptions based on current state of the parserprotected JsonParseExceptionJsonParser._constructReadException(String msg) Helper method for constructingJsonParseExceptionbased on current state of the parser.protected JsonParseExceptionJsonParser._constructReadException(String msg, JsonLocation loc) Helper method for constructingJsonParseExceptionbased on current state of the parser, except for specifiedJsonLocationfor problem location (which may not be the exact current location)protected JsonParseExceptionJsonParser._constructReadException(String msg, Object arg) protected JsonParseExceptionJsonParser._constructReadException(String msg, Object arg1, Object arg2) protected JsonParseExceptionJsonParser._constructReadException(String msg, Object arg1, Object arg2, Object arg3) protected JsonParseExceptionJsonParser._constructReadException(String msg, Throwable t) Helper method for constructingJsonParseExceptionbased on current state of the parser and indicating that the givenThrowableis the root cause.JsonParseException.withParser(JsonParser p) Fluent method that may be used to assign originatingJsonParser, to be accessed usinggetProcessor().JsonParseException.withRequestPayload(RequestPayload payload) Fluent method that may be used to assign payload to this exception, to let recipient access it for diagnostics purposes.Methods in com.fasterxml.jackson.core that throw JsonParseExceptionModifier and TypeMethodDescriptionJsonFactory.createJsonParser(byte[] data) Deprecated.JsonFactory.createJsonParser(byte[] data, int offset, int len) Deprecated.Since 2.2, useJsonFactory.createParser(byte[],int,int)instead.JsonFactory.createJsonParser(File f) Deprecated.Since 2.2, useJsonFactory.createParser(File)instead.JsonFactory.createJsonParser(InputStream in) Deprecated.Since 2.2, useJsonFactory.createParser(InputStream)instead.JsonFactory.createJsonParser(Reader r) Deprecated.Since 2.2, useJsonFactory.createParser(Reader)instead.JsonFactory.createJsonParser(String content) Deprecated.Since 2.2, useJsonFactory.createParser(String)instead.JsonFactory.createJsonParser(URL url) Deprecated.Since 2.2, useJsonFactory.createParser(URL)instead.JsonFactory.createParser(byte[] data) Method for constructing parser for parsing the contents of given byte array.JsonFactory.createParser(byte[] data, int offset, int len) Method for constructing parser for parsing the contents of given byte array.JsonFactory.createParser(File f) Method for constructing JSON parser instance to parse contents of specified file.JsonFactory.createParser(InputStream in) Method for constructing JSON parser instance to parse the contents accessed via specified input stream.JsonFactory.createParser(Reader r) Method for constructing parser for parsing the contents accessed via specified Reader.JsonFactory.createParser(String content) Method for constructing parser for parsing contents of given String.JsonFactory.createParser(URL url) Method for constructing JSON parser instance to parse contents of resource reference by given URL. -
Uses of JsonParseException in com.fasterxml.jackson.core.base
Methods in com.fasterxml.jackson.core.base that return JsonParseExceptionModifier and TypeMethodDescriptionprotected final JsonParseExceptionParserMinimalBase._constructError(String msg, Throwable t) Methods in com.fasterxml.jackson.core.base that throw JsonParseExceptionModifier and TypeMethodDescriptionprotected final intParserBase._eofAsNextChar()protected BigDecimalParserBase._getBigDecimal()Internal accessor that needs to be used for accessing number value of typeBigDecimalwhich -- as of 2.14 -- is typically lazily parsed.protected BigIntegerParserBase._getBigInteger()Internal accessor that needs to be used for accessing number value of typeBigIntegerwhich -- as of 2.14 -- is typically lazily parsed.protected doubleParserBase._getNumberDouble()Internal accessor that needs to be used for accessing number value of typedoublewhich -- as of 2.15 -- will be lazily parsed.protected floatParserBase._getNumberFloat()Internal accessor that needs to be used for accessing number value of typefloatwhich -- as of 2.15 -- will be lazily parsed.protected voidParserBase._handleEOF()Method called when an EOF is encountered between tokens.protected abstract voidParserMinimalBase._handleEOF()Method sub-classes need to implement for verifying that end-of-content is acceptable at current input position.protected final voidParserMinimalBase._reportError(String msg) protected final voidParserMinimalBase._reportError(String msg, Object arg) protected final voidParserMinimalBase._reportError(String msg, Object arg1, Object arg2) protected voidParserMinimalBase._reportInvalidEOF()protected voidParserMinimalBase._reportInvalidEOF(String msg, JsonToken currToken) protected voidParserMinimalBase._reportInvalidEOFInValue(JsonToken type) protected voidParserBase._reportMismatchedEndMarker(int actCh, char expCh) protected voidParserMinimalBase._reportMissingRootWS(int ch) protected voidParserMinimalBase._reportUnexpectedChar(int ch, String comment) protected <T> TParserMinimalBase._reportUnexpectedNumberChar(int ch, String comment) protected voidParserMinimalBase._throwInvalidSpace(int i) protected voidParserBase._throwUnquotedSpace(int i, String ctxtDesc) Method called to report a problem with unquoted control character.protected final voidParserMinimalBase._wrapError(String msg, Throwable t) protected voidParserMinimalBase.reportInvalidNumber(String msg) Method called to throw an exception for input token that looks like a number based on first character(s), but is not valid according to rules of format.protected voidParserMinimalBase.reportUnexpectedNumberChar(int ch, String comment) Deprecated. -
Uses of JsonParseException in com.fasterxml.jackson.core.io
Subclasses of JsonParseException in com.fasterxml.jackson.core.ioModifier and TypeClassDescriptionclassSpecializedJsonParseExceptionthat is thrown when end-of-input is reached unexpectedly, either within token being decoded, or during skipping of intervening white-space that is not between root-level tokens (that is, is within JSON Object or JSON Array construct). -
Uses of JsonParseException in com.fasterxml.jackson.core.json
Methods in com.fasterxml.jackson.core.json that throw JsonParseExceptionModifier and TypeMethodDescriptionprotected voidUTF8DataInputJsonParser._reportInvalidChar(int c) protected voidUTF8StreamJsonParser._reportInvalidChar(int c) protected voidUTF8DataInputJsonParser._reportInvalidInitial(int mask) protected voidUTF8StreamJsonParser._reportInvalidInitial(int mask) protected voidUTF8StreamJsonParser._reportInvalidOther(int mask) protected voidUTF8StreamJsonParser._reportInvalidOther(int mask, int ptr) booleanMethod called to check whether a newly encountered property name would be a duplicate within this context, and if not, update the state to remember having seen the property name for checking more property names -
Uses of JsonParseException in com.fasterxml.jackson.core.json.async
Methods in com.fasterxml.jackson.core.json.async that throw JsonParseExceptionModifier and TypeMethodDescriptionprotected final StringNonBlockingJsonParserBase._addName(int[] quads, int qlen, int lastQuadBytes) protected final StringNonBlockingJsonParserBase._findName(int q1, int lastQuadBytes) protected final StringNonBlockingJsonParserBase._findName(int q1, int q2, int lastQuadBytes) protected final StringNonBlockingJsonParserBase._findName(int q1, int q2, int q3, int lastQuadBytes) protected voidNonBlockingJsonParserBase._reportInvalidChar(int c) protected voidNonBlockingJsonParserBase._reportInvalidInitial(int mask) protected voidNonBlockingJsonParserBase._reportInvalidOther(int mask) protected voidNonBlockingJsonParserBase._reportInvalidOther(int mask, int ptr) -
Uses of JsonParseException in com.fasterxml.jackson.jakarta.rs.base
Methods in com.fasterxml.jackson.jakarta.rs.base with parameters of type JsonParseExceptionModifier and TypeMethodDescriptionJsonParseExceptionMapper.toResponse(JsonParseException exception)
JsonFactory.createParser(byte[])instead.