Class ThrowableDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<T>
-
- com.fasterxml.jackson.databind.deser.std.StdDeserializer<java.lang.Object>
-
- com.fasterxml.jackson.databind.deser.BeanDeserializerBase
-
- com.fasterxml.jackson.databind.deser.BeanDeserializer
-
- com.fasterxml.jackson.databind.deser.std.ThrowableDeserializer
-
- All Implemented Interfaces:
ContextualDeserializer,NullValueProvider,ResolvableDeserializer,ValueInstantiator.Gettable,java.io.Serializable
public class ThrowableDeserializer extends BeanDeserializer
Deserializer that builds on basicBeanDeserializerbut override some aspects like instance construction.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer
JsonDeserializer.None
-
-
Constructor Summary
Constructors Constructor Description ThrowableDeserializer(BeanDeserializer baseDeserializer)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThrowableDeserializerconstruct(DeserializationContext ctxt, BeanDeserializer baseDeserializer)java.lang.ObjectdeserializeFromObject(JsonParser p, DeserializationContext ctxt)General version used when handling needs more advanced features.JsonDeserializer<java.lang.Object>unwrappingDeserializer(NameTransformer unwrapper)Method that will return deserializer instance that is able to handle "unwrapped" value instances If no unwrapped instance can be constructed, will simply return this object as-is.-
Methods inherited from class com.fasterxml.jackson.databind.deser.BeanDeserializer
deserialize, deserialize, withBeanProperties, withByNameInclusion, withIgnoreAllUnknown, withObjectIdReader
-
Methods inherited from class com.fasterxml.jackson.databind.deser.BeanDeserializerBase
createContextual, creatorProperties, deserializeFromArray, deserializeFromBoolean, deserializeFromDouble, deserializeFromEmbedded, deserializeFromNumber, deserializeFromString, deserializeWithType, findBackReference, findProperty, findProperty, findProperty, getBeanClass, getEmptyAccessPattern, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getObjectIdReader, getPropertyCount, getValueInstantiator, getValueType, handledType, hasProperty, hasViews, isCachable, isCaseInsensitive, logicalType, properties, replaceProperty, resolve, supportsUpdate, withIgnorableProperties, wrapAndThrow
-
Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
getValueClass, getValueType
-
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserializeWithType, getAbsentValue, getDelegatee, getEmptyValue, getNullValue, getNullValue, replaceDelegatee
-
-
-
-
Constructor Detail
-
ThrowableDeserializer
@Deprecated public ThrowableDeserializer(BeanDeserializer baseDeserializer)
Deprecated.
-
-
Method Detail
-
construct
public static ThrowableDeserializer construct(DeserializationContext ctxt, BeanDeserializer baseDeserializer)
-
unwrappingDeserializer
public JsonDeserializer<java.lang.Object> unwrappingDeserializer(NameTransformer unwrapper)
Description copied from class:JsonDeserializerMethod that will return deserializer instance that is able to handle "unwrapped" value instances If no unwrapped instance can be constructed, will simply return this object as-is.Default implementation just returns 'this' indicating that no unwrapped variant exists
- Overrides:
unwrappingDeserializerin classBeanDeserializer
-
deserializeFromObject
public java.lang.Object deserializeFromObject(JsonParser p, DeserializationContext ctxt) throws java.io.IOException
Description copied from class:BeanDeserializerGeneral version used when handling needs more advanced features.- Overrides:
deserializeFromObjectin classBeanDeserializer- Throws:
java.io.IOException
-
-