Uses of Class
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.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 edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core
Modifier and TypeClassDescriptionclass
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
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 TypeMethodDescriptionabstract <T extends TreeNode>
TTreeCodec.readTree
(JsonParser p) abstract <T> T
ObjectCodec.treeToValue
(TreeNode n, Class<T> valueType) Convenience method for converting given JSON tree into instance of specified value type.abstract void
TreeCodec.writeTree
(JsonGenerator g, TreeNode tree) -
Uses of JsonProcessingException in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.base
Modifier and TypeMethodDescriptionprotected char
ParserBase._handleUnrecognizedCharacterEscape
(char ch) -
Uses of JsonProcessingException in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.exc
Modifier and TypeClassDescriptionclass
Exception type for read-side problems that are not direct decoding ("parsing") problems (those would be reported asJsonParseException
s), but rather result from failed attempts to convert specific Java value out of valid but incompatible input value.class
Intermediate base class for all read-side streaming processing problems, including parsing and input value coercion problems.class
Intermediate base class for all read-side streaming processing problems, including parsing and input value coercion problems. -
Uses of JsonProcessingException in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.filter
-
Uses of JsonProcessingException in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.io
Modifier and TypeClassDescriptionclass
SpecializedJsonParseException
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). -
Uses of JsonProcessingException in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.core.json
Modifier and TypeMethodDescriptionvoid
JsonReadContext.setCurrentName
(String name) int
JsonWriteContext.writeFieldName
(String name) Method that writer is to call before it writes a name of Object property. -
Uses of JsonProcessingException in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind
Modifier and TypeClassDescriptionclass
Intermediate base class for all databind level processing problems, as distinct from stream-level problems or I/O issues below.class
Checked exception used to signal fatal problems with mapping of content, distinct from low-level I/O problems (signaled using simpleIOException
s) or data encoding/decoding problems (signaled withStreamReadException
,StreamWriteException
).Modifier and TypeMethodDescriptionSame asObjectMapper.readTree(InputStream)
except content read from passed-inString
Same asObjectReader.readTree(InputStream)
except content read from passed-inString
<T> T
ObjectMapper.readValue
(String content, TypeReference<T> valueTypeRef) Method to deserialize JSON content from given JSON content String.<T> T
Method to deserialize JSON content from given JSON content String.<T> T
Method to deserialize JSON content from given JSON content String.<T> T
Method that binds content read from given JSON string, using configuration of this reader.<T> T
ObjectMapper.treeToValue
(TreeNode n, JavaType valueType) Same asObjectMapper.treeToValue(TreeNode, Class)
but target type specified using fully resolvedJavaType
.<T> T
ObjectMapper.treeToValue
(TreeNode n, Class<T> valueType) Convenience conversion method that will bind data given JSON tree contains into specific value (usually bean) type.<T> T
ObjectReader.treeToValue
(TreeNode n, JavaType valueType) Same asObjectReader.treeToValue(TreeNode, Class)
but with type-resolved target value type.<T> T
ObjectReader.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 edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.deser
Modifier and TypeClassDescriptionclass
Exception thrown during deserialization when there are object id that can't be resolved. -
Uses of JsonProcessingException in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.exc
Modifier and TypeClassDescriptionclass
SpecializedJsonMappingException
sub-class used to indicate case where an explicitly ignored property is encountered, and mapper is configured to consider this an error.class
Intermediate exception type used as the base class for allJsonMappingException
s that are due to problems with target type definition; usually a problem with annotations used on a class or its properties.class
Specialized sub-class ofMismatchedInputException
that is used when the underlying problem appears to be that of bad formatting of a value to deserialize.class
Exception thrown if a `null` value is being encountered for a property designed as "fail on null" property (seeJsonSetter
).class
Exception thrown when resolution of a type id fails.class
General exception type used as the base class for allJsonMappingException
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
Base class forJsonMappingException
s that are specifically related to problems related to binding an individual property.class
SpecializedJsonMappingException
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
Exception type used for generic failures during processing byValueInstantiator
: commonly used to wrap exceptions thrown by constructor or factory method. -
Uses of JsonProcessingException in edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.util