Uses of Class
com.fasterxml.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 (
com.fasterxml.jackson.databind).Contains implementation classes of deserialization part of
data binding.
Contains public standard implementations of abstraction that
Jackson uses.
Package that contains classes and interfaces to help implement
custom extension
Modules
(which are registered using
ObjectMapper.registerModule(Module).-
Uses of KeyDeserializer in com.fasterxml.jackson.databind
Subclasses of KeyDeserializer in com.fasterxml.jackson.databindModifier and TypeClassDescriptionstatic classThis marker class is only to be used with annotations, to indicate that no deserializer is configured.Methods in com.fasterxml.jackson.databind that return KeyDeserializerModifier and TypeMethodDescriptionfinal KeyDeserializerDeserializationContext.findKeyDeserializer(JavaType keyType, BeanProperty prop) Convenience method, functionally same as:abstract KeyDeserializerDeserializationContext.keyDeserializerInstance(Annotated annotated, Object deserDef) -
Uses of KeyDeserializer in com.fasterxml.jackson.databind.cfg
Methods in com.fasterxml.jackson.databind.cfg that return KeyDeserializerModifier and TypeMethodDescriptionabstract KeyDeserializerHandlerInstantiator.keyDeserializerInstance(DeserializationConfig config, Annotated annotated, 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 KeyDeserializerModifier and TypeFieldDescriptionprotected final KeyDeserializerSettableAnyProperty._keyDeserializerMethods in com.fasterxml.jackson.databind.deser that return KeyDeserializerModifier and TypeMethodDescriptionprotected KeyDeserializerDeserializerCache._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 KeyDeserializerDeserializerFactory.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 KeyDeserializerBasicDeserializerFactory.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 ofMapkeys.final KeyDeserializerDefaultDeserializationContext.keyDeserializerInstance(Annotated ann, Object deserDef) BeanDeserializerModifier.modifyKeyDeserializer(DeserializationConfig config, JavaType type, KeyDeserializer deserializer) Method called byDeserializerFactoryafter it has constructed the standard key deserializer for given key type.Methods in com.fasterxml.jackson.databind.deser with parameters of type KeyDeserializerModifier and TypeMethodDescriptionprotected 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) static SettableAnyPropertySettableAnyProperty.constructForMapField(DeserializationContext ctxt, BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser) static SettableAnyPropertySettableAnyProperty.constructForMethod(DeserializationContext ctxt, BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser) Deserializers.Base.findMapDeserializer(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer) Deserializers.findMapDeserializer(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer) Method called to locate deserializer for specifiedMaptype.Deserializers.Base.findMapLikeDeserializer(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer) 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 likeMapbut does not implement it).BeanDeserializerModifier.modifyKeyDeserializer(DeserializationConfig config, JavaType type, KeyDeserializer deserializer) Method called byDeserializerFactoryafter it has constructed the standard key deserializer for given key type.Constructors in com.fasterxml.jackson.databind.deser with parameters of type KeyDeserializerModifierConstructorDescriptionMapFieldAnyProperty(BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser, ValueInstantiator inst) MethodAnyProperty(BeanProperty property, AnnotatedMember field, JavaType valueType, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser) SettableAnyProperty(BeanProperty property, AnnotatedMember setter, JavaType type, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser) -
Uses of KeyDeserializer in com.fasterxml.jackson.databind.deser.std
Subclasses of KeyDeserializer in com.fasterxml.jackson.databind.deser.stdModifier and TypeClassDescriptionclassDefaultKeyDeserializerimplementation used for mostMaptypes Jackson supports.Fields in com.fasterxml.jackson.databind.deser.std declared as KeyDeserializerModifier and TypeFieldDescriptionprotected KeyDeserializerEnumMapDeserializer._keyDeserializerprotected final KeyDeserializerMapDeserializer._keyDeserializerKey deserializer to use; either passed via constructor (when indicated by annotations), or resolved whenMapDeserializer.resolve(DeserializationContext)is called;protected final KeyDeserializerMapEntryDeserializer._keyDeserializerKey deserializer to use; either passed via constructor (when indicated by annotations), or resolved whenMapEntryDeserializer.createContextual(DeserializationContext, BeanProperty)is called;Methods in com.fasterxml.jackson.databind.deser.std that return KeyDeserializerModifier and TypeMethodDescriptionstatic KeyDeserializerStdKeyDeserializers.constructDelegatingKeyDeserializer(DeserializationConfig config, JavaType type, JsonDeserializer<?> deser) static KeyDeserializerStdKeyDeserializers.constructEnumKeyDeserializer(EnumResolver enumResolver) static KeyDeserializerStdKeyDeserializers.constructEnumKeyDeserializer(EnumResolver enumResolver, AnnotatedMethod factory) static KeyDeserializerStdKeyDeserializers.constructEnumKeyDeserializer(EnumResolver enumResolver, AnnotatedMethod factory, EnumResolver enumNamingResolver, EnumResolver byToStringResolver, EnumResolver byIndexResolver) static KeyDeserializerStdKeyDeserializers.constructEnumKeyDeserializer(EnumResolver enumRes, EnumResolver byEnumNamingResolver, EnumResolver byToStringResolver, EnumResolver byIndexResolver) StdKeyDeserializers.findKeyDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc) static KeyDeserializerStdKeyDeserializers.findStringBasedKeyDeserializer(DeserializationConfig config, JavaType type) Methods in com.fasterxml.jackson.databind.deser.std with parameters of type KeyDeserializerModifier and TypeMethodDescriptionprotected final booleanMapDeserializer._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 booleanStdDeserializer.isDefaultKeyDeserializer(KeyDeserializer keyDeser) EnumMapDeserializer.withResolved(KeyDeserializer keyDeserializer, JsonDeserializer<?> valueDeserializer, TypeDeserializer valueTypeDeser, NullValueProvider nuller) protected MapDeserializerMapDeserializer.withResolved(KeyDeserializer keyDeser, TypeDeserializer valueTypeDeser, JsonDeserializer<?> valueDeser, NullValueProvider nuller, Set<String> ignorable) Fluent factory method used to create a copy with slightly different settings.protected MapDeserializerMapDeserializer.withResolved(KeyDeserializer keyDeser, TypeDeserializer valueTypeDeser, JsonDeserializer<?> valueDeser, NullValueProvider nuller, Set<String> ignorable, Set<String> includable) protected MapEntryDeserializerMapEntryDeserializer.withResolved(KeyDeserializer keyDeser, TypeDeserializer valueTypeDeser, JsonDeserializer<?> valueDeser) Fluent factory method used to create a copy with slightly different settings.Constructors in com.fasterxml.jackson.databind.deser.std with parameters of type KeyDeserializerModifierConstructorDescriptionprotectedEnumMapDeserializer(EnumMapDeserializer base, KeyDeserializer keyDeser, JsonDeserializer<?> valueDeser, TypeDeserializer vtd, NullValueProvider nuller) EnumMapDeserializer(JavaType mapType, ValueInstantiator valueInst, KeyDeserializer keyDeser, JsonDeserializer<?> valueDeser, TypeDeserializer vtd, NullValueProvider nuller) EnumMapDeserializer(JavaType mapType, KeyDeserializer keyDeser, JsonDeserializer<?> valueDeser, TypeDeserializer vtd) Deprecated.protectedMapDeserializer(MapDeserializer src, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, NullValueProvider nuller, Set<String> ignorable) protectedMapDeserializer(MapDeserializer src, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, NullValueProvider nuller, Set<String> ignorable, Set<String> includable) MapDeserializer(JavaType mapType, ValueInstantiator valueInstantiator, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser) protectedMapEntryDeserializer(MapEntryDeserializer src, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser) MapEntryDeserializer(JavaType type, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser) -
Uses of KeyDeserializer in com.fasterxml.jackson.databind.module
Fields in com.fasterxml.jackson.databind.module with type parameters of type KeyDeserializerModifier and TypeFieldDescriptionprotected HashMap<ClassKey, KeyDeserializer> SimpleKeyDeserializers._classMappingsMethods in com.fasterxml.jackson.databind.module that return KeyDeserializerModifier and TypeMethodDescriptionSimpleKeyDeserializers.findKeyDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc) Methods in com.fasterxml.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, JsonDeserializer<?> elementDeserializer) SimpleDeserializers.findMapLikeDeserializer(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)