Uses of Class
com.fasterxml.jackson.core.JsonParseException
-
Packages that use JsonParseException Package Description com.fasterxml.jackson.core Main public API classes of the core streaming JSON processor: most importantlyJsonFactory
used for constructing JSON parser (JsonParser
) and generator (JsonGenerator
) instances.com.fasterxml.jackson.core.base Base classes used by concrete Parser and Generator implementations; contain functionality that is not specific to JSON or input abstraction (byte vs char).com.fasterxml.jackson.core.io com.fasterxml.jackson.core.json JSON-specific parser and generator implementation classes that Jackson defines and uses.com.fasterxml.jackson.core.json.async Non-blocking ("async") JSON parser implementation. -
-
Uses of JsonParseException in com.fasterxml.jackson.core
Methods in com.fasterxml.jackson.core that return JsonParseException Modifier and Type Method Description protected JsonParseException
JsonParser. _constructError(java.lang.String msg)
Helper method for constructingJsonParseException
s based on current state of the parserprotected JsonParseException
JsonParser. _constructReadException(java.lang.String msg)
Helper method for constructingJsonParseException
based on current state of the parser.protected JsonParseException
JsonParser. _constructReadException(java.lang.String msg, JsonLocation loc)
Helper method for constructingJsonParseException
based on current state of the parser, except for specifiedJsonLocation
for problem location (which may not be the exact current location)protected JsonParseException
JsonParser. _constructReadException(java.lang.String msg, java.lang.Object arg)
protected JsonParseException
JsonParser. _constructReadException(java.lang.String msg, java.lang.Object arg1, java.lang.Object arg2)
protected JsonParseException
JsonParser. _constructReadException(java.lang.String msg, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
protected JsonParseException
JsonParser. _constructReadException(java.lang.String msg, java.lang.Throwable t)
Helper method for constructingJsonParseException
based on current state of the parser and indicating that the givenThrowable
is the root cause.JsonParseException
JsonParseException. withParser(JsonParser p)
Fluent method that may be used to assign originatingJsonParser
, to be accessed usinggetProcessor()
.JsonParseException
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 JsonParseException Modifier and Type Method Description JsonParser
JsonFactory. createJsonParser(byte[] data)
Deprecated.Since 2.2, useJsonFactory.createParser(byte[])
instead.JsonParser
JsonFactory. createJsonParser(byte[] data, int offset, int len)
Deprecated.Since 2.2, useJsonFactory.createParser(byte[],int,int)
instead.JsonParser
JsonFactory. createJsonParser(java.io.File f)
Deprecated.Since 2.2, useJsonFactory.createParser(File)
instead.JsonParser
JsonFactory. createJsonParser(java.io.InputStream in)
Deprecated.Since 2.2, useJsonFactory.createParser(InputStream)
instead.JsonParser
JsonFactory. createJsonParser(java.io.Reader r)
Deprecated.Since 2.2, useJsonFactory.createParser(Reader)
instead.JsonParser
JsonFactory. createJsonParser(java.lang.String content)
Deprecated.Since 2.2, useJsonFactory.createParser(String)
instead.JsonParser
JsonFactory. createJsonParser(java.net.URL url)
Deprecated.Since 2.2, useJsonFactory.createParser(URL)
instead.JsonParser
JsonFactory. createParser(byte[] data)
Method for constructing parser for parsing the contents of given byte array.JsonParser
JsonFactory. createParser(byte[] data, int offset, int len)
Method for constructing parser for parsing the contents of given byte array.JsonParser
JsonFactory. createParser(java.io.File f)
Method for constructing JSON parser instance to parse contents of specified file.JsonParser
JsonFactory. createParser(java.io.InputStream in)
Method for constructing JSON parser instance to parse the contents accessed via specified input stream.JsonParser
JsonFactory. createParser(java.io.Reader r)
Method for constructing parser for parsing the contents accessed via specified Reader.JsonParser
JsonFactory. createParser(java.lang.String content)
Method for constructing parser for parsing contents of given String.JsonParser
JsonFactory. createParser(java.net.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 JsonParseException Modifier and Type Method Description protected JsonParseException
ParserMinimalBase. _constructError(java.lang.String msg, java.lang.Throwable t)
Methods in com.fasterxml.jackson.core.base that throw JsonParseException Modifier and Type Method Description protected int
ParserBase. _eofAsNextChar()
protected java.math.BigDecimal
ParserBase. _getBigDecimal()
Internal accessor that needs to be used for accessing number value of typeBigDecimal
which -- as of 2.14 -- is typically lazily parsed.protected java.math.BigInteger
ParserBase. _getBigInteger()
Internal accessor that needs to be used for accessing number value of typeBigInteger
which -- as of 2.14 -- is typically lazily parsed.protected double
ParserBase. _getNumberDouble()
Internal accessor that needs to be used for accessing number value of typedouble
which -- as of 2.15 -- will be lazily parsed.protected float
ParserBase. _getNumberFloat()
Internal accessor that needs to be used for accessing number value of typefloat
which -- as of 2.15 -- will be lazily parsed.protected void
ParserBase. _handleEOF()
Method called when an EOF is encountered between tokens.protected abstract void
ParserMinimalBase. _handleEOF()
Method sub-classes need to implement for verifying that end-of-content is acceptable at current input position.protected void
ParserMinimalBase. _reportError(java.lang.String msg)
protected void
ParserMinimalBase. _reportError(java.lang.String msg, java.lang.Object arg)
protected void
ParserMinimalBase. _reportError(java.lang.String msg, java.lang.Object arg1, java.lang.Object arg2)
protected void
ParserMinimalBase. _reportInvalidEOF()
protected void
ParserMinimalBase. _reportInvalidEOF(java.lang.String msg, JsonToken currToken)
protected void
ParserMinimalBase. _reportInvalidEOFInValue(JsonToken type)
protected void
ParserBase. _reportMismatchedEndMarker(int actCh, char expCh)
protected void
ParserMinimalBase. _reportMissingRootWS(int ch)
protected void
ParserMinimalBase. _reportUnexpectedChar(int ch, java.lang.String comment)
protected <T> T
ParserMinimalBase. _reportUnexpectedNumberChar(int ch, java.lang.String comment)
protected void
ParserMinimalBase. _throwInvalidSpace(int i)
protected void
ParserBase. _throwUnquotedSpace(int i, java.lang.String ctxtDesc)
Method called to report a problem with unquoted control character.protected void
ParserMinimalBase. _wrapError(java.lang.String msg, java.lang.Throwable t)
protected void
ParserMinimalBase. reportInvalidNumber(java.lang.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 void
ParserMinimalBase. reportUnexpectedNumberChar(int ch, java.lang.String comment)
Deprecated. -
Uses of JsonParseException in com.fasterxml.jackson.core.io
Subclasses of JsonParseException in com.fasterxml.jackson.core.io Modifier and Type Class Description class
JsonEOFException
SpecializedJsonParseException
that 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 JsonParseException Modifier and Type Method Description protected void
UTF8DataInputJsonParser. _reportInvalidChar(int c)
protected void
UTF8StreamJsonParser. _reportInvalidChar(int c)
protected void
UTF8DataInputJsonParser. _reportInvalidInitial(int mask)
protected void
UTF8StreamJsonParser. _reportInvalidInitial(int mask)
protected void
UTF8StreamJsonParser. _reportInvalidOther(int mask)
protected void
UTF8StreamJsonParser. _reportInvalidOther(int mask, int ptr)
boolean
DupDetector. isDup(java.lang.String name)
Method 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 JsonParseException Modifier and Type Method Description protected java.lang.String
NonBlockingJsonParserBase. _addName(int[] quads, int qlen, int lastQuadBytes)
protected java.lang.String
NonBlockingJsonParserBase. _findName(int q1, int lastQuadBytes)
protected java.lang.String
NonBlockingJsonParserBase. _findName(int q1, int q2, int lastQuadBytes)
protected java.lang.String
NonBlockingJsonParserBase. _findName(int q1, int q2, int q3, int lastQuadBytes)
protected void
NonBlockingJsonParserBase. _reportInvalidChar(int c)
protected void
NonBlockingJsonParserBase. _reportInvalidInitial(int mask)
protected void
NonBlockingJsonParserBase. _reportInvalidOther(int mask)
protected void
NonBlockingJsonParserBase. _reportInvalidOther(int mask, int ptr)
-