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 | |
com.fasterxml.jackson.databind |
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode ), as well as
writing Java Objects and trees as JSON. |
com.fasterxml.jackson.databind.deser |
Contains implementation classes of deserialization part of
data binding.
|
com.fasterxml.jackson.databind.exc |
Modifier and Type | Class and Description |
---|---|
class |
JsonGenerationException
Exception type for exceptions during JSON writing, such as trying
to output content in wrong context (non-matching end-array or end-object,
for example).
|
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.
|
class |
JsonProcessingException
Intermediate base class for all problems encountered when
processing (parsing, generating) JSON content
that are not pure I/O problems.
|
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. |
class |
StreamReadException
Intermediate base class for all read-side streaming processing problems, including
parsing and input value coercion problems.
|
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). |
Modifier and Type | Class and Description |
---|---|
class |
JsonMappingException
Checked exception used to signal fatal problems with mapping of
content, distinct from low-level I/O problems (signaled using
simple
IOException s) or data encoding/decoding
problems (signaled with JsonParseException ,
JsonGenerationException ). |
Modifier and Type | Class and Description |
---|---|
class |
UnresolvedForwardReference
Exception thrown during deserialization when there are object id that can't
be resolved.
|
Modifier and Type | Class and Description |
---|---|
class |
IgnoredPropertyException
Specialized
JsonMappingException sub-class used to indicate
case where an explicitly ignored property is encountered, and mapper
is configured to consider this an error. |
class |
InvalidDefinitionException
Intermediate exception type used as the base class for all
JsonMappingException s
that are due to problems with target type definition; usually a problem with
annotations used on a class or its properties. |
class |
InvalidFormatException
Specialized sub-class of
MismatchedInputException
that is used when the underlying problem appears to be that
of bad formatting of a value to deserialize. |
class |
InvalidNullException
Exception thrown if a `null` value is being encountered for a property
designed as "fail on null" property (see
JsonSetter ). |
class |
InvalidTypeIdException
Exception thrown when resolution of a type id fails.
|
class |
MismatchedInputException
General exception type used as the base class for all
JsonMappingException s
that are due to input not mapping to target definition; these are typically
considered "client errors" since target type definition itself is not the root cause
but mismatching input. |
class |
PropertyBindingException
Base class for
JsonMappingException s that are specifically related
to problems related to binding an individual property. |
class |
UnrecognizedPropertyException
Specialized
JsonMappingException sub-class specifically used
to indicate problems due to encountering a JSON property that could
not be mapped to an Object property (via getter, constructor argument
or field). |
class |
ValueInstantiationException
Exception type used for generic failures during processing by
ValueInstantiator :
commonly used to wrap exceptions thrown by constructor or factory
method. |
Copyright © 2021 JBoss by Red Hat. All rights reserved.