public final class FlatteningDeserializer extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<Object> implements com.fasterxml.jackson.databind.deser.ResolvableDeserializer
Modifier | Constructor and Description |
---|---|
protected |
FlatteningDeserializer(Class<?> vc,
com.fasterxml.jackson.databind.JsonDeserializer<?> defaultDeserializer,
com.fasterxml.jackson.databind.ObjectMapper mapper)
Creates an instance of FlatteningDeserializer.
|
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
static com.fasterxml.jackson.databind.module.SimpleModule |
getModule(com.fasterxml.jackson.databind.ObjectMapper mapper)
Gets a module wrapping this serializer as an adapter for the Jackson
ObjectMapper.
|
void |
resolve(com.fasterxml.jackson.databind.DeserializationContext ctxt) |
_byteOverflow, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeWrappedValue, _failDoubleToIntCoercion, _findNullProvider, _hasTextualNull, _intOverflow, _isEmptyOrTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _neitherNull, _nonNullNumber, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseIntPrimitive, _parseIntPrimitive, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, deserializeWithType, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
deserialize, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializer
protected FlatteningDeserializer(Class<?> vc, com.fasterxml.jackson.databind.JsonDeserializer<?> defaultDeserializer, com.fasterxml.jackson.databind.ObjectMapper mapper)
vc
- handled typedefaultDeserializer
- the default JSON mapperAdaptermapper
- the object mapper for default deserializationspublic static com.fasterxml.jackson.databind.module.SimpleModule getModule(com.fasterxml.jackson.databind.ObjectMapper mapper)
mapper
- the object mapper for default deserializationspublic Object deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
deserialize
in class com.fasterxml.jackson.databind.JsonDeserializer<Object>
IOException
public void resolve(com.fasterxml.jackson.databind.DeserializationContext ctxt) throws com.fasterxml.jackson.databind.JsonMappingException
resolve
in interface com.fasterxml.jackson.databind.deser.ResolvableDeserializer
com.fasterxml.jackson.databind.JsonMappingException
Copyright © 2019. All rights reserved.