Uses of Class
com.fasterxml.jackson.core.JsonProcessingException
-
Packages that use JsonProcessingException 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.exc Package for some ofJsonProcessingExceptionsubtypes contained by streaming API.com.fasterxml.jackson.core.filter 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.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 com.fasterxml.jackson.databind.util Utility classes for Mapper package.com.fasterxml.jackson.datatype.jsr310.ser.key com.fasterxml.jackson.module.jakarta.xmlbind.deser com.fasterxml.jackson.module.jakarta.xmlbind.ser -
-
Uses of JsonProcessingException in com.fasterxml.jackson.core
Subclasses of JsonProcessingException in com.fasterxml.jackson.core Modifier and Type Class Description classJsonGenerationExceptionException type for exceptions during JSON writing, such as trying to output content in wrong context (non-matching end-array or end-object, for example).classJsonParseExceptionException 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 JsonProcessingException Modifier and Type Method Description abstract <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 JsonProcessingException Modifier and Type Method Description protected charParserBase. _handleUnrecognizedCharacterEscape(char ch) -
Uses of JsonProcessingException in com.fasterxml.jackson.core.exc
Subclasses of JsonProcessingException in com.fasterxml.jackson.core.exc Modifier and Type Class Description classInputCoercionExceptionException 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.classStreamConstraintsExceptionException type used to indicate violations of stream constraints (for exampleStreamReadConstraints) when reading or writing content.classStreamReadExceptionIntermediate base class for all read-side streaming processing problems, including parsing and input value coercion problems.classStreamWriteExceptionIntermediate 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 Modifier and Type Method Description TokenFilterTokenFilterContext. setFieldName(String name) -
Uses of JsonProcessingException in com.fasterxml.jackson.core.io
Subclasses of JsonProcessingException 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 JsonProcessingException in com.fasterxml.jackson.core.json
Methods in com.fasterxml.jackson.core.json that throw JsonProcessingException Modifier and Type Method Description voidJsonReadContext. 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.databind Modifier and Type Class Description classDatabindExceptionIntermediate base class for all databind level processing problems, as distinct from stream-level problems or I/O issues below.classJsonMappingExceptionChecked 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 JsonProcessingException Modifier and Type Method Description JsonNodeObjectMapper. readTree(String content)Same asObjectMapper.readTree(InputStream)except content read from passed-inStringJsonNodeObjectReader. readTree(String json)Same 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> TObjectMapper. readValue(String content, JavaType valueType)Method to deserialize JSON content from given JSON content String.<T> TObjectMapper. readValue(String content, Class<T> valueType)Method to deserialize JSON content from given JSON content String.<T> TObjectReader. readValue(String src)Method that binds content read from given JSON string, using configuration of this reader.<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.StringObjectMapper. writeValueAsString(Object value)Method that can be used to serialize any Java value as a String.StringObjectWriter. 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.deser Modifier and Type Class Description classUnresolvedForwardReferenceException 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.exc Modifier and Type Class Description classIgnoredPropertyExceptionSpecializedJsonMappingExceptionsub-class used to indicate case where an explicitly ignored property is encountered, and mapper is configured to consider this an error.classInvalidDefinitionExceptionIntermediate 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.classInvalidFormatExceptionSpecialized sub-class ofMismatchedInputExceptionthat is used when the underlying problem appears to be that of bad formatting of a value to deserialize.classInvalidNullExceptionException thrown if a `null` value is being encountered for a property designed as "fail on null" property (seeJsonSetter).classInvalidTypeIdExceptionException thrown when resolution of a type id fails.classMismatchedInputExceptionGeneral 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.classPropertyBindingExceptionBase class forJsonMappingExceptions that are specifically related to problems related to binding an individual property.classUnrecognizedPropertyExceptionSpecializedJsonMappingExceptionsub-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).classValueInstantiationExceptionException 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 Modifier and Type Method Description voidTokenBufferReadContext. setCurrentName(String name) -
Uses of JsonProcessingException in com.fasterxml.jackson.datatype.jsr310.ser.key
Methods in com.fasterxml.jackson.datatype.jsr310.ser.key that throw JsonProcessingException Modifier and Type Method Description voidZonedDateTimeKeySerializer. 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 JsonProcessingException Modifier and Type Method Description DataHandlerDataHandlerDeserializer. 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 JsonProcessingException Modifier and Type Method Description voidDataHandlerSerializer. serialize(DataHandler value, JsonGenerator jgen, SerializerProvider provider)
-