Uses of Class
com.fasterxml.jackson.core.JsonProcessingException
Packages that use JsonProcessingException
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).
Package for some of
JsonProcessingException
subtypes contained by streaming API.JSON-specific parser and generator implementation classes that
Jackson defines and uses.
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.Contains implementation classes of deserialization part of
data binding.
Utility classes for Mapper package.
-
Uses of JsonProcessingException in com.fasterxml.jackson.core
Subclasses of JsonProcessingException in com.fasterxml.jackson.coreModifier and TypeClassDescriptionclassException type for exceptions during JSON writing, such as trying to output content in wrong context (non-matching end-array or end-object, for example).classException type for parsing problems, used when non-well-formed content (content that does not conform to JSON syntax as per specification) is encountered.Methods in com.fasterxml.jackson.core that throw JsonProcessingExceptionModifier and TypeMethodDescriptionabstract <T extends TreeNode>
TTreeCodec.readTree(JsonParser p) abstract <T> TObjectCodec.treeToValue(TreeNode n, Class<T> valueType) Convenience method for converting given JSON tree into instance of specified value type.abstract voidTreeCodec.writeTree(JsonGenerator g, TreeNode tree) -
Uses of JsonProcessingException in com.fasterxml.jackson.core.base
Methods in com.fasterxml.jackson.core.base that throw JsonProcessingExceptionModifier and TypeMethodDescriptionprotected charParserBase._handleUnrecognizedCharacterEscape(char ch) -
Uses of JsonProcessingException in com.fasterxml.jackson.core.exc
Subclasses of JsonProcessingException in com.fasterxml.jackson.core.excModifier and TypeClassDescriptionclassException type for read-side problems that are not direct decoding ("parsing") problems (those would be reported asJsonParseExceptions), but rather result from failed attempts to convert specific Java value out of valid but incompatible input value.classException type used to indicate violations of stream constraints (for exampleStreamReadConstraints) when reading or writing content.classIntermediate base class for all read-side streaming processing problems, including parsing and input value coercion problems.classIntermediate base class for all read-side streaming processing problems, including parsing and input value coercion problems. -
Uses of JsonProcessingException in com.fasterxml.jackson.core.filter
Methods in com.fasterxml.jackson.core.filter that throw JsonProcessingException -
Uses of JsonProcessingException in com.fasterxml.jackson.core.io
Subclasses of JsonProcessingException 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 JsonProcessingException in com.fasterxml.jackson.core.json
Methods in com.fasterxml.jackson.core.json that throw JsonProcessingExceptionModifier and TypeMethodDescriptionvoidJsonReadContext.setCurrentName(String name) intJsonWriteContext.writeFieldName(String name) Method that writer is to call before it writes a name of Object property. -
Uses of JsonProcessingException in com.fasterxml.jackson.databind
Subclasses of JsonProcessingException in com.fasterxml.jackson.databindModifier and TypeClassDescriptionclassIntermediate base class for all databind level processing problems, as distinct from stream-level problems or I/O issues below.classChecked exception used to signal fatal problems with mapping of content, distinct from low-level I/O problems (signaled using simpleIOExceptions) or data encoding/decoding problems (signaled withStreamReadException,StreamWriteException).Methods in com.fasterxml.jackson.databind that throw JsonProcessingExceptionModifier and TypeMethodDescriptionSame asObjectMapper.readTree(InputStream)except content read from passed-inStringSame asObjectReader.readTree(InputStream)except content read from passed-inString<T> TObjectMapper.readValue(String content, TypeReference<T> valueTypeRef) Method to deserialize JSON content from given JSON content String.<T> TMethod to deserialize JSON content from given JSON content String.<T> TMethod to deserialize JSON content from given JSON content String.<T> TMethod that binds content read from given JSON string, using configuration of this reader.<T> TObjectMapper.treeToValue(TreeNode n, TypeReference<T> toValueTypeRef) Same asObjectMapper.treeToValue(TreeNode, JavaType)but target type specified using fully resolvedTypeReference.<T> TObjectMapper.treeToValue(TreeNode n, JavaType valueType) Same asObjectMapper.treeToValue(TreeNode, Class)but target type specified using fully resolvedJavaType.<T> TObjectMapper.treeToValue(TreeNode n, Class<T> valueType) Convenience conversion method that will bind data given JSON tree contains into specific value (usually bean) type.<T> TObjectReader.treeToValue(TreeNode n, JavaType valueType) Same asObjectReader.treeToValue(TreeNode, Class)but with type-resolved target value type.<T> TObjectReader.treeToValue(TreeNode n, Class<T> valueType) byte[]ObjectMapper.writeValueAsBytes(Object value) Method that can be used to serialize any Java value as a byte array.byte[]ObjectWriter.writeValueAsBytes(Object value) Method that can be used to serialize any Java value as a byte array.ObjectMapper.writeValueAsString(Object value) Method that can be used to serialize any Java value as a String.ObjectWriter.writeValueAsString(Object value) Method that can be used to serialize any Java value as a String. -
Uses of JsonProcessingException in com.fasterxml.jackson.databind.deser
Subclasses of JsonProcessingException in com.fasterxml.jackson.databind.deserModifier and TypeClassDescriptionclassException thrown during deserialization when there are object id that can't be resolved. -
Uses of JsonProcessingException in com.fasterxml.jackson.databind.exc
Subclasses of JsonProcessingException in com.fasterxml.jackson.databind.excModifier and TypeClassDescriptionclassSpecializedJsonMappingExceptionsub-class used to indicate case where an explicitly ignored property is encountered, and mapper is configured to consider this an error.classIntermediate exception type used as the base class for allJsonMappingExceptions that are due to problems with target type definition; usually a problem with annotations used on a class or its properties.classSpecialized sub-class ofMismatchedInputExceptionthat is used when the underlying problem appears to be that of bad formatting of a value to deserialize.classException thrown if a `null` value is being encountered for a property designed as "fail on null" property (seeJsonSetter).classException thrown when resolution of a type id fails.classGeneral exception type used as the base class for allJsonMappingExceptions 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.classBase class forJsonMappingExceptions that are specifically related to problems related to binding an individual property.classSpecializedJsonMappingExceptionsub-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).classException type used for generic failures during processing byValueInstantiator: commonly used to wrap exceptions thrown by constructor or factory method. -
Uses of JsonProcessingException in com.fasterxml.jackson.databind.util
Methods in com.fasterxml.jackson.databind.util that throw JsonProcessingException -
Uses of JsonProcessingException in com.fasterxml.jackson.datatype.jsr310.ser.key
Methods in com.fasterxml.jackson.datatype.jsr310.ser.key that throw JsonProcessingExceptionModifier and TypeMethodDescriptionvoidZonedDateTimeKeySerializer.serialize(ZonedDateTime value, JsonGenerator gen, SerializerProvider serializers) -
Uses of JsonProcessingException in com.fasterxml.jackson.module.jakarta.xmlbind.deser
Methods in com.fasterxml.jackson.module.jakarta.xmlbind.deser that throw JsonProcessingExceptionModifier and TypeMethodDescriptionDataHandlerDeserializer.deserialize(JsonParser p, DeserializationContext ctxt) -
Uses of JsonProcessingException in com.fasterxml.jackson.module.jakarta.xmlbind.ser
Methods in com.fasterxml.jackson.module.jakarta.xmlbind.ser that throw JsonProcessingExceptionModifier and TypeMethodDescriptionvoidDataHandlerSerializer.serialize(DataHandler value, JsonGenerator jgen, SerializerProvider provider) -
Uses of JsonProcessingException in org.jboss.resteasy.plugins.providers.jackson
Methods in org.jboss.resteasy.plugins.providers.jackson with parameters of type JsonProcessingExceptionModifier and TypeMethodDescriptionJsonProcessingExceptionMapper.toResponse(JsonProcessingException exception)