BeanDeserializer but
override some aspects like instance construction.
| Modifier and Type | Field and Description |
|---|---|
| protected static final String | |
| protected static final String | |
| protected static final String |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | ThrowableDeserializer(BeanDeserializer src, UnwrappedPropertyHandler unwrapHandler, PropertyBasedCreator pbCreator, BeanPropertyMap renamedProperties, boolean ignoreAllUnknown)
Alternative constructor used when creating "unwrapping" deserializers |
| Modifier and Type | Method and Description |
|---|---|
| private Throwable | _instantiate(DeserializationContext ctxt, boolean hasStringCreator, String valueAsString)
Helper method to initialize Throwable |
| public static ThrowableDeserializer | |
| public Object | deserializeFromObject(JsonParser p, DeserializationContext ctxt)
Overrides tools. General version used when handling needs more advanced features. |
| public ValueDeserializer | unwrappingDeserializer(DeserializationContext ctxt, NameTransformer transformer)
Overrides tools. 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. |
| PROP_NAME_LOCALIZED_MESSAGE | back to summary |
|---|---|
| protected static final String PROP_NAME_LOCALIZED_MESSAGE | |
| PROP_NAME_MESSAGE | back to summary |
|---|---|
| protected static final String PROP_NAME_MESSAGE | |
| PROP_NAME_SUPPRESSED | back to summary |
|---|---|
| protected static final String PROP_NAME_SUPPRESSED | |
| ThrowableDeserializer | back to summary |
|---|---|
| protected ThrowableDeserializer(BeanDeserializer baseDeserializer) | |
| ThrowableDeserializer | back to summary |
|---|---|
| protected ThrowableDeserializer(BeanDeserializer src, UnwrappedPropertyHandler unwrapHandler, PropertyBasedCreator pbCreator, BeanPropertyMap renamedProperties, boolean ignoreAllUnknown) Alternative constructor used when creating "unwrapping" deserializers | |
| _instantiate | back to summary |
|---|---|
| private Throwable _instantiate(DeserializationContext ctxt, boolean hasStringCreator, String valueAsString) Helper method to initialize Throwable
| |
| construct | back to summary |
|---|---|
| public static ThrowableDeserializer construct(DeserializationContext ctxt, BeanDeserializer baseDeserializer) | |
| deserializeFromObject | back to summary |
|---|---|
| public Object deserializeFromObject(JsonParser p, DeserializationContext ctxt) throws JacksonException Overrides tools. Doc from tools. General version used when handling needs more advanced features.
| |
| unwrappingDeserializer | back to summary |
|---|---|
| public ValueDeserializer Overrides tools. Doc from tools. 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. Default implementation just returns 'this' indicating that no unwrapped variant exists
| |