public class ThrowableDeserializer extends BeanDeserializer
BeanDeserializer
but
override some aspects like instance construction.JsonDeserializer.None
Modifier and Type | Field and Description |
---|---|
protected static String |
PROP_NAME_MESSAGE |
_anySetter, _arrayDelegateDeserializer, _backRefs, _beanProperties, _beanType, _delegateDeserializer, _externalTypeIdHandler, _ignorableProps, _ignoreAllUnknown, _injectables, _needViewProcesing, _nonStandardCreation, _objectIdReader, _propertyBasedCreator, _serializationShape, _subDeserializers, _unwrappedPropertyHandler, _valueInstantiator, _vanillaProcessing, TEMP_PROPERTY_NAME
_valueClass, F_MASK_INT_COERCIONS
Modifier | Constructor and Description |
---|---|
|
ThrowableDeserializer(BeanDeserializer baseDeserializer) |
protected |
ThrowableDeserializer(BeanDeserializer src,
NameTransformer unwrapper)
Alternative constructor used when creating "unwrapping" deserializers
|
Modifier and Type | Method and Description |
---|---|
Object |
deserializeFromObject(JsonParser p,
DeserializationContext ctxt)
General version used when handling needs more advanced features.
|
JsonDeserializer<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.
|
_deserializeOther, _deserializeUsingPropertyBased, _deserializeWithErrorWrapping, _missingToken, asArrayDeserializer, deserialize, deserialize, deserializeFromNull, deserializeUsingPropertyBasedWithExternalTypeId, deserializeUsingPropertyBasedWithUnwrapped, deserializeWithExternalTypeId, deserializeWithExternalTypeId, deserializeWithUnwrapped, deserializeWithUnwrapped, deserializeWithView, withIgnorableProperties, withObjectIdReader
_convertObjectId, _findSubclassDeserializer, _handleTypedObjectId, _resolvedObjectIdProperty, _resolveInnerClassValuedProperty, _resolveManagedReferenceProperty, _resolveUnwrappedProperty, createContextual, creatorProperties, deserializeFromArray, deserializeFromBoolean, deserializeFromDouble, deserializeFromEmbedded, deserializeFromNumber, deserializeFromObjectId, deserializeFromObjectUsingNonDefault, deserializeFromString, deserializeWithObjectId, deserializeWithType, findBackReference, findConvertingDeserializer, findProperty, findProperty, findProperty, getBeanClass, getKnownPropertyNames, getObjectIdReader, getPropertyCount, getValueInstantiator, getValueType, handledType, handleIgnoredProperty, handlePolymorphic, handleUnknownProperties, handleUnknownProperty, handleUnknownVanilla, hasProperty, hasViews, injectValues, isCachable, properties, replaceProperty, resolve, wrapAndThrow, wrapAndThrow, wrapInstantiationProblem
_coerceIntegral, _deserializeFromEmpty, _failDoubleToIntCoercion, _hasTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _parseBoolean, _parseBooleanFromOther, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, _parseString, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, getValueClass, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
getDelegatee, getEmptyValue, getEmptyValue, getNullValue, getNullValue, replaceDelegatee
protected static final String PROP_NAME_MESSAGE
public ThrowableDeserializer(BeanDeserializer baseDeserializer)
protected ThrowableDeserializer(BeanDeserializer src, NameTransformer unwrapper)
public JsonDeserializer<Object> unwrappingDeserializer(NameTransformer unwrapper)
JsonDeserializer
Default implementation just returns 'this' indicating that no unwrapped variant exists
unwrappingDeserializer
in class BeanDeserializer
public Object deserializeFromObject(JsonParser p, DeserializationContext ctxt) throws IOException
BeanDeserializer
deserializeFromObject
in class BeanDeserializer
IOException
Copyright © 2008–2016 FasterXML. All rights reserved.