Package | Description |
---|---|
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.util |
Utility classes for Mapper package.
|
Modifier and Type | Method and Description |
---|---|
protected EnumResolver |
BasicDeserializerFactory.constructEnumResolver(java.lang.Class<?> enumClass,
DeserializationConfig config,
AnnotatedMethod jsonValueMethod) |
Modifier and Type | Field and Description |
---|---|
protected EnumResolver |
StdKeyDeserializer.EnumKD._byNameResolver |
protected EnumResolver |
StdKeyDeserializer.EnumKD._byToStringResolver
Lazily constructed alternative in case there is need to
use 'toString()' method as the source.
|
Modifier and Type | Method and Description |
---|---|
private EnumResolver |
StdKeyDeserializer.EnumKD._getToStringResolver() |
Modifier and Type | Method and Description |
---|---|
static KeyDeserializer |
StdKeyDeserializers.constructEnumKeyDeserializer(EnumResolver enumResolver) |
static KeyDeserializer |
StdKeyDeserializers.constructEnumKeyDeserializer(EnumResolver enumResolver,
AnnotatedMethod factory) |
Constructor and Description |
---|
EnumDeserializer(EnumResolver byNameResolver) |
EnumKD(EnumResolver er,
AnnotatedMethod factory) |
Modifier and Type | Method and Description |
---|---|
static EnumResolver |
EnumResolver.constructFor(java.lang.Class<java.lang.Enum<?>> enumCls,
AnnotationIntrospector ai)
Factory method for constructing resolver that maps from Enum.name() into
Enum value
|
static EnumResolver |
EnumResolver.constructUnsafe(java.lang.Class<?> rawEnumCls,
AnnotationIntrospector ai)
This method is needed because of the dynamic nature of constructing Enum
resolvers.
|
static EnumResolver |
EnumResolver.constructUnsafeUsingMethod(java.lang.Class<?> rawEnumCls,
java.lang.reflect.Method accessor)
Method used when actual String serialization is indicated using @JsonValue
on a method.
|
static EnumResolver |
EnumResolver.constructUnsafeUsingToString(java.lang.Class<?> rawEnumCls)
Method that needs to be used instead of
constructUsingToString(java.lang.Class<java.lang.Enum<?>>)
if static type of enum is not known. |
static EnumResolver |
EnumResolver.constructUsingMethod(java.lang.Class<java.lang.Enum<?>> enumCls,
java.lang.reflect.Method accessor) |
static EnumResolver |
EnumResolver.constructUsingToString(java.lang.Class<java.lang.Enum<?>> enumCls)
Factory method for constructing resolver that maps from Enum.toString() into
Enum value
|