public abstract class GuavaMultimapDeserializer<T extends com.google.common.collect.Multimap<Object,Object>>
extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<T>
implements com.fasterxml.jackson.databind.deser.ContextualDeserializer
Constructor and Description |
---|
GuavaMultimapDeserializer(com.fasterxml.jackson.databind.type.MapLikeType type,
com.fasterxml.jackson.databind.KeyDeserializer keyDeserializer,
com.fasterxml.jackson.databind.jsontype.TypeDeserializer elementTypeDeserializer,
com.fasterxml.jackson.databind.JsonDeserializer<?> elementDeserializer) |
GuavaMultimapDeserializer(com.fasterxml.jackson.databind.type.MapLikeType type,
com.fasterxml.jackson.databind.KeyDeserializer keyDeserializer,
com.fasterxml.jackson.databind.jsontype.TypeDeserializer elementTypeDeserializer,
com.fasterxml.jackson.databind.JsonDeserializer<?> elementDeserializer,
Method creatorMethod,
com.fasterxml.jackson.databind.deser.NullValueProvider nvp) |
Modifier and Type | Method and Description |
---|---|
protected abstract com.fasterxml.jackson.databind.JsonDeserializer<?> |
_createContextual(com.fasterxml.jackson.databind.type.MapLikeType t,
com.fasterxml.jackson.databind.KeyDeserializer kd,
com.fasterxml.jackson.databind.jsontype.TypeDeserializer vtd,
com.fasterxml.jackson.databind.JsonDeserializer<?> vd,
Method method,
com.fasterxml.jackson.databind.deser.NullValueProvider np) |
com.fasterxml.jackson.databind.JsonDeserializer<?> |
createContextual(com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.BeanProperty property)
We need to use this method to properly handle possible contextual variants of key and value
deserializers, as well as type deserializers.
|
protected abstract T |
createMultimap() |
T |
deserialize(com.fasterxml.jackson.core.JsonParser p,
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
public GuavaMultimapDeserializer(com.fasterxml.jackson.databind.type.MapLikeType type, com.fasterxml.jackson.databind.KeyDeserializer keyDeserializer, com.fasterxml.jackson.databind.jsontype.TypeDeserializer elementTypeDeserializer, com.fasterxml.jackson.databind.JsonDeserializer<?> elementDeserializer)
public GuavaMultimapDeserializer(com.fasterxml.jackson.databind.type.MapLikeType type, com.fasterxml.jackson.databind.KeyDeserializer keyDeserializer, com.fasterxml.jackson.databind.jsontype.TypeDeserializer elementTypeDeserializer, com.fasterxml.jackson.databind.JsonDeserializer<?> elementDeserializer, Method creatorMethod, com.fasterxml.jackson.databind.deser.NullValueProvider nvp)
protected abstract T createMultimap()
public com.fasterxml.jackson.databind.JsonDeserializer<?> createContextual(com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.databind.BeanProperty property) throws com.fasterxml.jackson.databind.JsonMappingException
createContextual
in interface com.fasterxml.jackson.databind.deser.ContextualDeserializer
com.fasterxml.jackson.databind.JsonMappingException
protected abstract com.fasterxml.jackson.databind.JsonDeserializer<?> _createContextual(com.fasterxml.jackson.databind.type.MapLikeType t, com.fasterxml.jackson.databind.KeyDeserializer kd, com.fasterxml.jackson.databind.jsontype.TypeDeserializer vtd, com.fasterxml.jackson.databind.JsonDeserializer<?> vd, Method method, com.fasterxml.jackson.databind.deser.NullValueProvider np)
public T deserialize(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
deserialize
in class com.fasterxml.jackson.databind.JsonDeserializer<T extends com.google.common.collect.Multimap<Object,Object>>
IOException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2019 FasterXML. All rights reserved.