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 importantlyJsonFactoryused 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 JsonParseExceptionJsonParser. _constructError(java.lang.String msg)Helper method for constructingJsonParseExceptions based on current state of the parserJsonParseExceptionJsonParseException. withParser(JsonParser p)Fluent method that may be used to assign originatingJsonParser, to be accessed usinggetProcessor().JsonParseExceptionJsonParseException. withRequestPayload(RequestPayload p)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 JsonParserJsonFactory. createJsonParser(byte[] data)Deprecated.Since 2.2, useJsonFactory.createParser(byte[])instead.JsonParserJsonFactory. createJsonParser(byte[] data, int offset, int len)Deprecated.Since 2.2, useJsonFactory.createParser(byte[],int,int)instead.JsonParserJsonFactory. createJsonParser(java.io.File f)Deprecated.Since 2.2, useJsonFactory.createParser(File)instead.JsonParserJsonFactory. createJsonParser(java.io.InputStream in)Deprecated.Since 2.2, useJsonFactory.createParser(InputStream)instead.JsonParserJsonFactory. createJsonParser(java.io.Reader r)Deprecated.Since 2.2, useJsonFactory.createParser(Reader)instead.JsonParserJsonFactory. createJsonParser(java.lang.String content)Deprecated.Since 2.2, useJsonFactory.createParser(String)instead.JsonParserJsonFactory. createJsonParser(java.net.URL url)Deprecated.Since 2.2, useJsonFactory.createParser(URL)instead.JsonParserJsonFactory. createParser(byte[] data)Method for constructing parser for parsing the contents of given byte array.JsonParserJsonFactory. createParser(byte[] data, int offset, int len)Method for constructing parser for parsing the contents of given byte array.JsonParserJsonFactory. createParser(java.io.File f)Method for constructing JSON parser instance to parse contents of specified file.JsonParserJsonFactory. createParser(java.io.InputStream in)Method for constructing JSON parser instance to parse the contents accessed via specified input stream.JsonParserJsonFactory. createParser(java.io.Reader r)Method for constructing parser for parsing the contents accessed via specified Reader.JsonParserJsonFactory. createParser(java.lang.String content)Method for constructing parser for parsing contents of given String.JsonParserJsonFactory. 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 JsonParseExceptionParserMinimalBase. _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 intParserBase. _eofAsNextChar()protected voidParserBase. _handleEOF()Method called when an EOF is encountered between tokens.protected abstract voidParserMinimalBase. _handleEOF()Method sub-classes need to implementprotected voidParserMinimalBase. _reportError(java.lang.String msg)protected voidParserMinimalBase. _reportError(java.lang.String msg, java.lang.Object arg)protected voidParserMinimalBase. _reportError(java.lang.String msg, java.lang.Object arg1, java.lang.Object arg2)protected voidParserMinimalBase. _reportInvalidEOF()protected voidParserMinimalBase. _reportInvalidEOF(java.lang.String msg)Deprecated.Since 2.8 useParserMinimalBase._reportInvalidEOF(String, JsonToken)insteadprotected voidParserMinimalBase. _reportInvalidEOF(java.lang.String msg, JsonToken currToken)protected voidParserMinimalBase. _reportInvalidEOFInValue()Deprecated.Since 2.8 useParserMinimalBase._reportInvalidEOF(String, JsonToken)insteadprotected voidParserMinimalBase. _reportInvalidEOFInValue(JsonToken type)protected voidParserBase. _reportMismatchedEndMarker(int actCh, char expCh)protected voidParserMinimalBase. _reportMissingRootWS(int ch)protected voidParserMinimalBase. _reportUnexpectedChar(int ch, java.lang.String comment)protected voidParserMinimalBase. _throwInvalidSpace(int i)protected voidParserMinimalBase. _throwUnquotedSpace(int i, java.lang.String ctxtDesc)Method called to report a problem with unquoted control character.protected voidParserMinimalBase. _wrapError(java.lang.String msg, java.lang.Throwable t)protected voidParserMinimalBase. reportInvalidNumber(java.lang.String msg)protected voidParserMinimalBase. reportUnexpectedNumberChar(int ch, java.lang.String comment) -
Uses of JsonParseException in com.fasterxml.jackson.core.io
Subclasses of JsonParseException in com.fasterxml.jackson.core.io Modifier and Type Class Description classJsonEOFExceptionSpecializedJsonParseExceptionthat 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 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)booleanDupDetector. isDup(java.lang.String name) -
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.StringNonBlockingJsonParserBase. _addName(int[] quads, int qlen, int lastQuadBytes)This is the main workhorse method used when we take a symbol table miss.protected java.lang.StringNonBlockingJsonParserBase. _findName(int q1, int lastQuadBytes)protected java.lang.StringNonBlockingJsonParserBase. _findName(int q1, int q2, int lastQuadBytes)protected java.lang.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)
-