Package | Description |
---|---|
com.fasterxml.jackson.core |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser )
and generator
(JsonGenerator )
instances. |
com.fasterxml.jackson.core.exc |
Package for some of
JsonProcessingException
subtypes contained by streaming API. |
com.fasterxml.jackson.core.io |
Modifier and Type | Class and Description |
---|---|
class |
JsonParseException
Exception type for parsing problems, used when non-well-formed content
(content that does not conform to JSON syntax as per specification)
is encountered.
|
Modifier and Type | Class and Description |
---|---|
class |
InputCoercionException
Exception type for read-side problems that are not direct decoding ("parsing")
problems (those would be reported as
JsonParseException s),
but rather result from failed attempts to convert specific Java value out of valid
but incompatible input value. |
Modifier and Type | Method and Description |
---|---|
abstract StreamReadException |
StreamReadException.withParser(JsonParser p)
Fluent method that may be used to assign originating
JsonParser ,
to be accessed using getProcessor() . |
abstract StreamReadException |
StreamReadException.withRequestPayload(RequestPayload payload)
Fluent method that may be used to assign payload to this exception,
to let recipient access it for diagnostics purposes.
|
Modifier and Type | Class and Description |
---|---|
class |
JsonEOFException
Specialized
JsonParseException 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). |
Copyright © 2008–2021 FasterXML. All rights reserved.