Uses of Class
com.fasterxml.jackson.databind.KeyDeserializer
-
Packages that use KeyDeserializer Package Description com.fasterxml.jackson.databind 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.com.fasterxml.jackson.databind.annotation Annotations that directly depend on classes in databinding bundle (not just Jackson core) and cannot be included in Jackson core annotations package (because it cannot have any external dependencies).com.fasterxml.jackson.databind.cfg 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 (com.fasterxml.jackson.databind
).com.fasterxml.jackson.databind.deser Contains implementation classes of deserialization part of data binding.com.fasterxml.jackson.databind.deser.std Contains public standard implementations of abstraction that Jackson uses.com.fasterxml.jackson.databind.module Package that contains classes and interfaces to help implement custom extensionModule
s (which are registered usingObjectMapper.registerModule(com.fasterxml.jackson.databind.Module)
. -
-
Uses of KeyDeserializer in com.fasterxml.jackson.databind
Subclasses of KeyDeserializer in com.fasterxml.jackson.databind Modifier and Type Class Description static class
KeyDeserializer.None
This marker class is only to be used with annotations, to indicate that no deserializer is configured.Methods in com.fasterxml.jackson.databind that return KeyDeserializer Modifier and Type Method Description KeyDeserializer
DeserializationContext. findKeyDeserializer(JavaType keyType, BeanProperty prop)
Convenience method, functionally same as:abstract KeyDeserializer
DeserializationContext. keyDeserializerInstance(Annotated annotated, java.lang.Object deserDef)
-
Uses of KeyDeserializer in com.fasterxml.jackson.databind.annotation
Methods in com.fasterxml.jackson.databind.annotation that return types with arguments of type KeyDeserializer Modifier and Type Method Description java.lang.Class<? extends KeyDeserializer>
keyUsing()
Deserializer class to use for deserializing Map keys of annotated property or Map keys of value type so annotated. -
Uses of KeyDeserializer in com.fasterxml.jackson.databind.cfg
Methods in com.fasterxml.jackson.databind.cfg that return KeyDeserializer Modifier and Type Method Description abstract KeyDeserializer
HandlerInstantiator. keyDeserializerInstance(DeserializationConfig config, Annotated annotated, java.lang.Class<?> keyDeserClass)
Method called to get an instance of key deserializer of specified type. -
Uses of KeyDeserializer in com.fasterxml.jackson.databind.deser
Fields in com.fasterxml.jackson.databind.deser declared as KeyDeserializer Modifier and Type Field Description protected KeyDeserializer
SettableAnyProperty. _keyDeserializer
Methods in com.fasterxml.jackson.databind.deser that return KeyDeserializer Modifier and Type Method Description protected KeyDeserializer
DeserializerCache. _handleUnknownKeyDeserializer(DeserializationContext ctxt, JavaType type)
KeyDeserializer
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.KeyDeserializer
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.KeyDeserializer
DeserializerCache. findKeyDeserializer(DeserializationContext ctxt, DeserializerFactory factory, JavaType type)
Method called to get hold of a deserializer to use for deserializing keys forMap
.KeyDeserializer
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.KeyDeserializer
DefaultDeserializationContext. keyDeserializerInstance(Annotated ann, java.lang.Object deserDef)
KeyDeserializer
BeanDeserializerModifier. modifyKeyDeserializer(DeserializationConfig config, JavaType type, KeyDeserializer deserializer)
Method called byDeserializerFactory
after it has constructed the standard key deserializer for given key type.Methods in com.fasterxml.jackson.databind.deser with parameters of type KeyDeserializer Modifier and Type Method Description protected JsonDeserializer<?>
BasicDeserializerFactory. _findCustomMapDeserializer(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)
protected JsonDeserializer<?>
BasicDeserializerFactory. _findCustomMapLikeDeserializer(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)
JsonDeserializer<?>
Deserializers.Base. findMapDeserializer(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)
JsonDeserializer<?>
Deserializers. findMapDeserializer(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)
Method called to locate deserializer for specifiedMap
type.JsonDeserializer<?>
Deserializers.Base. findMapLikeDeserializer(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)
JsonDeserializer<?>
Deserializers. findMapLikeDeserializer(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified "Map-like" type (one that acts likeMap
but does not implement it).KeyDeserializer
BeanDeserializerModifier. modifyKeyDeserializer(DeserializationConfig config, JavaType type, KeyDeserializer deserializer)
Method called byDeserializerFactory
after it has constructed the standard key deserializer for given key type.Constructors in com.fasterxml.jackson.databind.deser with parameters of type KeyDeserializer Constructor Description SettableAnyProperty(BeanProperty property, AnnotatedMember setter, JavaType type, KeyDeserializer keyDeser, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer typeDeser)
-
Uses of KeyDeserializer in com.fasterxml.jackson.databind.deser.std
Subclasses of KeyDeserializer in com.fasterxml.jackson.databind.deser.std Modifier and Type Class Description class
StdKeyDeserializer
DefaultKeyDeserializer
implementation used for mostMap
types Jackson supports.Fields in com.fasterxml.jackson.databind.deser.std declared as KeyDeserializer Modifier and Type Field Description protected KeyDeserializer
EnumMapDeserializer. _keyDeserializer
protected KeyDeserializer
MapDeserializer. _keyDeserializer
Key deserializer to use; either passed via constructor (when indicated by annotations), or resolved whenMapDeserializer.resolve(com.fasterxml.jackson.databind.DeserializationContext)
is called;protected KeyDeserializer
MapEntryDeserializer. _keyDeserializer
Key deserializer to use; either passed via constructor (when indicated by annotations), or resolved whenMapEntryDeserializer.createContextual(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.BeanProperty)
is called;Methods in com.fasterxml.jackson.databind.deser.std that return KeyDeserializer Modifier and Type Method Description static KeyDeserializer
StdKeyDeserializers. constructDelegatingKeyDeserializer(DeserializationConfig config, JavaType type, JsonDeserializer<?> deser)
static KeyDeserializer
StdKeyDeserializers. constructEnumKeyDeserializer(EnumResolver enumResolver)
static KeyDeserializer
StdKeyDeserializers. constructEnumKeyDeserializer(EnumResolver enumResolver, AnnotatedMethod factory)
KeyDeserializer
StdKeyDeserializers. findKeyDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc)
static KeyDeserializer
StdKeyDeserializers. findStringBasedKeyDeserializer(DeserializationConfig config, JavaType type)
Methods in com.fasterxml.jackson.databind.deser.std with parameters of type KeyDeserializer Modifier and Type Method Description protected 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.protected boolean
StdDeserializer. isDefaultKeyDeserializer(KeyDeserializer keyDeser)
EnumMapDeserializer
EnumMapDeserializer. withResolved(KeyDeserializer keyDeserializer, JsonDeserializer<?> valueDeserializer, TypeDeserializer valueTypeDeser, NullValueProvider nuller)
protected MapDeserializer
MapDeserializer. withResolved(KeyDeserializer keyDeser, TypeDeserializer valueTypeDeser, JsonDeserializer<?> valueDeser, NullValueProvider nuller, java.util.Set<java.lang.String> ignorable)
Fluent factory method used to create a copy with slightly different settings.protected MapDeserializer
MapDeserializer. withResolved(KeyDeserializer keyDeser, TypeDeserializer valueTypeDeser, JsonDeserializer<?> valueDeser, NullValueProvider nuller, java.util.Set<java.lang.String> ignorable, java.util.Set<java.lang.String> includable)
protected MapEntryDeserializer
MapEntryDeserializer. withResolved(KeyDeserializer keyDeser, TypeDeserializer valueTypeDeser, JsonDeserializer<?> valueDeser)
Fluent factory method used to create a copy with slightly different settings. -
Uses of KeyDeserializer in com.fasterxml.jackson.databind.module
Fields in com.fasterxml.jackson.databind.module with type parameters of type KeyDeserializer Modifier and Type Field Description protected java.util.HashMap<ClassKey,KeyDeserializer>
SimpleKeyDeserializers. _classMappings
Methods in com.fasterxml.jackson.databind.module that return KeyDeserializer Modifier and Type Method Description KeyDeserializer
SimpleKeyDeserializers. findKeyDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc)
Methods in com.fasterxml.jackson.databind.module with parameters of type KeyDeserializer Modifier and Type Method Description SimpleKeyDeserializers
SimpleKeyDeserializers. addDeserializer(java.lang.Class<?> forClass, KeyDeserializer deser)
SimpleModule
SimpleModule. addKeyDeserializer(java.lang.Class<?> type, KeyDeserializer deser)
JsonDeserializer<?>
SimpleDeserializers. findMapDeserializer(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)
JsonDeserializer<?>
SimpleDeserializers. findMapLikeDeserializer(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)
-