Uses of Class
tools.jackson.databind.KeyDeserializer
Packages that use KeyDeserializer
Package
Description
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode
), as well as
writing Java Objects and trees as JSON.Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
tools.jackson.databind
).Contains implementation classes of deserialization part of
data binding.
Package that contains standard value and key deserializer implementations
Jackson uses for core JDK types.
Package that contains standard value and key deserializer base classes
that Jackson both uses for its own implementations and offers for
module developers as convenient partial implementations.
Package that contains classes and interfaces to help implement
custom extension
JacksonModule
s
(which are registered on ObjectMapper via builders}.-
Uses of KeyDeserializer in tools.jackson.databind
Subclasses of KeyDeserializer in tools.jackson.databindModifier and TypeClassDescriptionstatic class
This marker class is only to be used with annotations, to indicate that no deserializer is configured.Methods in tools.jackson.databind that return KeyDeserializerModifier and TypeMethodDescriptionfinal KeyDeserializer
DeserializationContext.findKeyDeserializer
(JavaType keyType, BeanProperty prop) abstract KeyDeserializer
DeserializationContext.keyDeserializerInstance
(Annotated annotated, Object deserDef) -
Uses of KeyDeserializer in tools.jackson.databind.cfg
Methods in tools.jackson.databind.cfg that return KeyDeserializerModifier and TypeMethodDescriptionabstract KeyDeserializer
HandlerInstantiator.keyDeserializerInstance
(DeserializationConfig config, Annotated annotated, Class<?> keyDeserClass) Method called to get an instance of key deserializer of specified type. -
Uses of KeyDeserializer in tools.jackson.databind.deser
Fields in tools.jackson.databind.deser declared as KeyDeserializerModifier and TypeFieldDescriptionprotected final KeyDeserializer
SettableAnyProperty._keyDeserializer
Methods in tools.jackson.databind.deser that return KeyDeserializerModifier and TypeMethodDescriptionprotected KeyDeserializer
DeserializerCache._handleUnknownKeyDeserializer
(DeserializationContext ctxt, JavaType type) ContextualKeyDeserializer.createContextual
(DeserializationContext ctxt, BeanProperty property) Method called to see if a different (or differently configured) key deserializer is needed to deserialize keys of specified Map property.BasicDeserializerFactory.createKeyDeserializer
(DeserializationContext ctxt, JavaType type) abstract KeyDeserializer
DeserializerFactory.createKeyDeserializer
(DeserializationContext ctxt, JavaType type) Method called to find if factory knows how to create a key deserializer for specified type; currently this means checking if a module has registered possible deserializers.DeserializerCache.findKeyDeserializer
(DeserializationContext ctxt, DeserializerFactory factory, JavaType type) Method called to get hold of a deserializer to use for deserializing keys forMap
.KeyDeserializers.findKeyDeserializer
(JavaType type, DeserializationConfig config, BeanDescription beanDesc) protected KeyDeserializer
BasicDeserializerFactory.findKeyDeserializerFromAnnotation
(DeserializationContext ctxt, Annotated ann) Helper method called to check if a class or method has annotation that tells which class to use for deserialization ofMap
keys.final KeyDeserializer
DeserializationContextExt.keyDeserializerInstance
(Annotated ann, Object deserDef) ValueDeserializerModifier.modifyKeyDeserializer
(DeserializationConfig config, JavaType type, KeyDeserializer deserializer) Method called byDeserializerFactory
after it has constructed the standard key deserializer for given key type.Methods in tools.jackson.databind.deser with parameters of type KeyDeserializerModifier and TypeMethodDescriptionprotected ValueDeserializer<?>
BasicDeserializerFactory._findCustomMapDeserializer
(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) protected ValueDeserializer<?>
BasicDeserializerFactory._findCustomMapLikeDeserializer
(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) static SettableAnyProperty
SettableAnyProperty.constructForMapField
(DeserializationContext ctxt, BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer typeDeser) static SettableAnyProperty
SettableAnyProperty.constructForMapParameter
(DeserializationContext ctxt, BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer typeDeser, int parameterIndex) static SettableAnyProperty
SettableAnyProperty.constructForMethod
(DeserializationContext ctxt, BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer typeDeser) Deserializers.Base.findMapDeserializer
(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Deserializers.findMapDeserializer
(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Method called to locate deserializer for specifiedMap
type.Deserializers.Base.findMapLikeDeserializer
(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Deserializers.findMapLikeDeserializer
(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Method called to locate deserializer for specified "Map-like" type (one that acts likeMap
but does not implement it).ValueDeserializerModifier.modifyKeyDeserializer
(DeserializationConfig config, JavaType type, KeyDeserializer deserializer) Method called byDeserializerFactory
after it has constructed the standard key deserializer for given key type.Constructors in tools.jackson.databind.deser with parameters of type KeyDeserializerModifierConstructorDescriptionMapFieldAnyProperty
(BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer typeDeser, ValueInstantiator inst) MapParameterAnyProperty
(BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer typeDeser, ValueInstantiator inst, int parameterIndex) MethodAnyProperty
(BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer typeDeser) SettableAnyProperty
(BeanProperty property, AnnotatedMember setter, JavaType type, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer typeDeser) -
Uses of KeyDeserializer in tools.jackson.databind.deser.jdk
Subclasses of KeyDeserializer in tools.jackson.databind.deser.jdkModifier and TypeClassDescriptionclass
DefaultKeyDeserializer
implementation used for mostMap
key types Jackson supports.Fields in tools.jackson.databind.deser.jdk declared as KeyDeserializerModifier and TypeFieldDescriptionprotected KeyDeserializer
EnumMapDeserializer._keyDeserializer
protected final KeyDeserializer
MapDeserializer._keyDeserializer
Key deserializer to use; either passed via constructor (when indicated by annotations), or resolved whenMapDeserializer.resolve(tools.jackson.databind.DeserializationContext)
is called;protected final KeyDeserializer
MapEntryDeserializer._keyDeserializer
Key deserializer to use; either passed via constructor (when indicated by annotations), or resolved whenMapEntryDeserializer.createContextual(tools.jackson.databind.DeserializationContext, tools.jackson.databind.BeanProperty)
is called;Methods in tools.jackson.databind.deser.jdk that return KeyDeserializerModifier and TypeMethodDescriptionstatic KeyDeserializer
JDKKeyDeserializers.constructDelegatingKeyDeserializer
(DeserializationConfig config, JavaType type, ValueDeserializer<?> deser) static KeyDeserializer
JDKKeyDeserializers.constructEnumKeyDeserializer
(EnumResolver enumResolver, AnnotatedMethod factory, EnumResolver enumNamingResolver, EnumResolver byToStringResolver, EnumResolver byIndexResolver) static KeyDeserializer
JDKKeyDeserializers.constructEnumKeyDeserializer
(EnumResolver enumRes, EnumResolver byEnumNamingResolver, EnumResolver byToStringResolver, EnumResolver byIndexResolver) JDKKeyDeserializers.findKeyDeserializer
(JavaType type, DeserializationConfig config, BeanDescription beanDesc) static KeyDeserializer
JDKKeyDeserializers.findStringBasedKeyDeserializer
(DeserializationContext ctxt, JavaType type) Methods in tools.jackson.databind.deser.jdk with parameters of type KeyDeserializerModifier and TypeMethodDescriptionprotected final boolean
MapDeserializer._isStdKeyDeser
(JavaType mapType, KeyDeserializer keyDeser) Helper method used to check whether we can just use the default key deserialization, where JSON String becomes Java String.EnumMapDeserializer.withResolved
(KeyDeserializer keyDeserializer, ValueDeserializer<?> valueDeserializer, TypeDeserializer valueTypeDeser, NullValueProvider nuller) protected MapDeserializer
MapDeserializer.withResolved
(KeyDeserializer keyDeser, TypeDeserializer valueTypeDeser, ValueDeserializer<?> valueDeser, NullValueProvider nuller, Set<String> ignorable) Fluent factory method used to create a copy with slightly different settings.protected MapDeserializer
MapDeserializer.withResolved
(KeyDeserializer keyDeser, TypeDeserializer valueTypeDeser, ValueDeserializer<?> valueDeser, NullValueProvider nuller, Set<String> ignorable, Set<String> includable) protected MapEntryDeserializer
MapEntryDeserializer.withResolved
(KeyDeserializer keyDeser, TypeDeserializer valueTypeDeser, ValueDeserializer<?> valueDeser) Fluent factory method used to create a copy with slightly different settings.Constructors in tools.jackson.databind.deser.jdk with parameters of type KeyDeserializerModifierConstructorDescriptionprotected
EnumMapDeserializer
(EnumMapDeserializer base, KeyDeserializer keyDeser, ValueDeserializer<?> valueDeser, TypeDeserializer vtd, NullValueProvider nuller) EnumMapDeserializer
(JavaType mapType, ValueInstantiator valueInst, KeyDeserializer keyDeser, ValueDeserializer<?> valueDeser, TypeDeserializer vtd, NullValueProvider nuller) protected
MapDeserializer
(MapDeserializer src, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, NullValueProvider nuller, Set<String> ignorable) protected
MapDeserializer
(MapDeserializer src, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, NullValueProvider nuller, Set<String> ignorable, Set<String> includable) MapDeserializer
(JavaType mapType, ValueInstantiator valueInstantiator, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser) protected
MapEntryDeserializer
(MapEntryDeserializer src, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser) MapEntryDeserializer
(JavaType type, KeyDeserializer keyDeser, ValueDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser) protected
UntypedObjectDeserializer
(UntypedObjectDeserializer base, KeyDeserializer keyDeser) -
Uses of KeyDeserializer in tools.jackson.databind.deser.std
Methods in tools.jackson.databind.deser.std with parameters of type KeyDeserializerModifier and TypeMethodDescriptionprotected boolean
StdDeserializer.isDefaultKeyDeserializer
(KeyDeserializer keyDeser) -
Uses of KeyDeserializer in tools.jackson.databind.module
Fields in tools.jackson.databind.module with type parameters of type KeyDeserializerModifier and TypeFieldDescriptionprotected HashMap<ClassKey,
KeyDeserializer> SimpleKeyDeserializers._classMappings
Methods in tools.jackson.databind.module that return KeyDeserializerModifier and TypeMethodDescriptionSimpleKeyDeserializers.findKeyDeserializer
(JavaType type, DeserializationConfig config, BeanDescription beanDesc) Methods in tools.jackson.databind.module with parameters of type KeyDeserializerModifier and TypeMethodDescriptionSimpleKeyDeserializers.addDeserializer
(Class<?> forClass, KeyDeserializer deser) SimpleModule.addKeyDeserializer
(Class<?> type, KeyDeserializer deser) NOTE: This method registers "default" (de)serializers only.SimpleDeserializers.findMapDeserializer
(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) SimpleDeserializers.findMapLikeDeserializer
(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer)