public abstract class GuavaMapDeserializer<T>
extends com.fasterxml.jackson.databind.JsonDeserializer<T>
implements com.fasterxml.jackson.databind.deser.ContextualDeserializer
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.KeyDeserializer |
_keyDeserializer
Key deserializer used, if not null.
|
protected com.fasterxml.jackson.databind.type.MapType |
_mapType |
protected com.fasterxml.jackson.databind.jsontype.TypeDeserializer |
_typeDeserializerForValue
If value instances have polymorphic type information, this
is the type deserializer that can handle it
|
protected com.fasterxml.jackson.databind.JsonDeserializer<?> |
_valueDeserializer
Value deserializer.
|
Modifier | Constructor and Description |
---|---|
protected |
GuavaMapDeserializer(com.fasterxml.jackson.databind.type.MapType type,
com.fasterxml.jackson.databind.KeyDeserializer keyDeser,
com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeser,
com.fasterxml.jackson.databind.JsonDeserializer<?> deser) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
_deserializeEntries(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
com.fasterxml.jackson.databind.JsonDeserializer<?> |
createContextual(com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.BeanProperty property)
Method called to finalize setup of this deserializer,
after deserializer itself has been registered.
|
T |
deserialize(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
Object |
deserializeWithType(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer)
Base implementation that does not assume specific type
inclusion mechanism.
|
abstract GuavaMapDeserializer<T> |
withResolved(com.fasterxml.jackson.databind.KeyDeserializer keyDeser,
com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeser,
com.fasterxml.jackson.databind.JsonDeserializer<?> valueDeser)
Overridable fluent factory method used for creating contextual
instances.
|
deserialize, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, supportsUpdate, unwrappingDeserializer
protected final com.fasterxml.jackson.databind.type.MapType _mapType
protected com.fasterxml.jackson.databind.KeyDeserializer _keyDeserializer
protected com.fasterxml.jackson.databind.JsonDeserializer<?> _valueDeserializer
protected final com.fasterxml.jackson.databind.jsontype.TypeDeserializer _typeDeserializerForValue
protected GuavaMapDeserializer(com.fasterxml.jackson.databind.type.MapType type, com.fasterxml.jackson.databind.KeyDeserializer keyDeser, com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeser, com.fasterxml.jackson.databind.JsonDeserializer<?> deser)
public abstract GuavaMapDeserializer<T> withResolved(com.fasterxml.jackson.databind.KeyDeserializer keyDeser, com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeser, com.fasterxml.jackson.databind.JsonDeserializer<?> valueDeser)
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
public Object deserializeWithType(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer) throws IOException
deserializeWithType
in class com.fasterxml.jackson.databind.JsonDeserializer<T>
IOException
public T deserialize(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
deserialize
in class com.fasterxml.jackson.databind.JsonDeserializer<T>
IOException
protected abstract T _deserializeEntries(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
IOException
Copyright © 2017 FasterXML. All rights reserved.