public class ThrowableDeserializer extends BeanDeserializer
BeanDeserializer
but
override some aspects like instance construction.
Note that this deserializer was significantly changed in Jackson 1.7
(due to massive changes in BeanDeserializer
).
StdDeserializer.BigDecimalDeserializer, StdDeserializer.BigIntegerDeserializer, StdDeserializer.BooleanDeserializer, StdDeserializer.ByteDeserializer, StdDeserializer.CharacterDeserializer, StdDeserializer.DoubleDeserializer, StdDeserializer.FloatDeserializer, StdDeserializer.IntegerDeserializer, StdDeserializer.LongDeserializer, StdDeserializer.NumberDeserializer, StdDeserializer.PrimitiveOrWrapperDeserializer<T>, StdDeserializer.ShortDeserializer, StdDeserializer.SqlDateDeserializer, StdDeserializer.StackTraceElementDeserializer
JsonDeserializer.None
Modifier and Type | Field and Description |
---|---|
protected static String |
PROP_NAME_MESSAGE |
_anySetter, _backRefs, _beanProperties, _beanType, _delegateDeserializer, _externalTypeIdHandler, _forClass, _ignorableProps, _ignoreAllUnknown, _injectables, _nonStandardCreation, _property, _propertyBasedCreator, _subDeserializers, _unwrappedPropertyHandler, _valueInstantiator
_valueClass
Modifier | Constructor and Description |
---|---|
|
ThrowableDeserializer(BeanDeserializer baseDeserializer) |
protected |
ThrowableDeserializer(BeanDeserializer src,
boolean ignoreAllUnknown)
Alternative constructor used when creating "unwrapping" deserializers
|
Modifier and Type | Method and Description |
---|---|
Object |
deserializeFromObject(JsonParser jp,
DeserializationContext ctxt) |
JsonDeserializer<Object> |
unwrappingDeserializer()
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.
|
_deserializeUsingPropertyBased, _findSubclassDeserializer, _resolveInnerClassValuedProperty, _resolveManagedReferenceProperty, _resolveUnwrappedProperty, deserialize, deserialize, deserializeFromArray, deserializeFromBoolean, deserializeFromDouble, deserializeFromNumber, deserializeFromObjectUsingNonDefault, deserializeFromString, deserializeUsingPropertyBasedWithExternalTypeId, deserializeUsingPropertyBasedWithUnwrapped, deserializeWithExternalTypeId, deserializeWithExternalTypeId, deserializeWithType, deserializeWithUnwrapped, deserializeWithUnwrapped, findBackReference, getBeanClass, getPropertyCount, getValueInstantiator, getValueType, handlePolymorphic, handleUnknownProperties, handleUnknownProperty, hasProperty, injectValues, properties, resolve, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapInstantiationProblem
_parseBoolean, _parseBooleanFromNumber, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, findDeserializer, getValueClass, isDefaultSerializer, parseDouble, reportUnknownProperty
getEmptyValue, getNullValue
protected static final String PROP_NAME_MESSAGE
public ThrowableDeserializer(BeanDeserializer baseDeserializer)
protected ThrowableDeserializer(BeanDeserializer src, boolean ignoreAllUnknown)
public JsonDeserializer<Object> unwrappingDeserializer()
JsonDeserializer
Default implementation just returns 'this' indicating that no unwrapped variant exists
unwrappingDeserializer
in class BeanDeserializer
public Object deserializeFromObject(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException
deserializeFromObject
in class BeanDeserializer
IOException
JsonProcessingException