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
限定符和类型 | 字段和说明 |
---|---|
protected static String |
PROP_NAME_MESSAGE |
_anySetter, _backRefs, _beanProperties, _beanType, _delegateDeserializer, _externalTypeIdHandler, _forClass, _ignorableProps, _ignoreAllUnknown, _injectables, _nonStandardCreation, _property, _propertyBasedCreator, _subDeserializers, _unwrappedPropertyHandler, _valueInstantiator
_valueClass
限定符 | 构造器和说明 |
---|---|
|
ThrowableDeserializer(BeanDeserializer baseDeserializer) |
protected |
ThrowableDeserializer(BeanDeserializer src,
boolean ignoreAllUnknown)
Alternative constructor used when creating "unwrapping" deserializers
|
限定符和类型 | 方法和说明 |
---|---|
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
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
public Object deserializeFromObject(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException