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(Class<?> enumClass,
DeserializationConfig config,
AnnotatedMember jsonValueAccessor) |
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)
Deprecated.
Since 2.9
|
EnumDeserializer(EnumResolver byNameResolver,
Boolean caseInsensitive) |
Modifier and Type | Method and Description |
---|---|
static EnumResolver |
EnumResolver.constructFor(Class<Enum<?>> enumCls,
AnnotationIntrospector ai)
Factory method for constructing resolver that maps from Enum.name() into
Enum value
|
static EnumResolver |
EnumResolver.constructUnsafe(Class<?> rawEnumCls,
AnnotationIntrospector ai)
This method is needed because of the dynamic nature of constructing Enum
resolvers.
|
static EnumResolver |
EnumResolver.constructUnsafeUsingMethod(Class<?> rawEnumCls,
AnnotatedMember accessor,
AnnotationIntrospector ai)
Method used when actual String serialization is indicated using @JsonValue
on a method.
|
static EnumResolver |
EnumResolver.constructUnsafeUsingToString(Class<?> rawEnumCls,
AnnotationIntrospector ai)
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(Class<Enum<?>> enumCls,
AnnotatedMember accessor,
AnnotationIntrospector ai) |
static EnumResolver |
EnumResolver.constructUsingToString(Class<Enum<?>> enumCls)
Deprecated.
Since 2.8, use
constructUsingToString(Class, AnnotationIntrospector) instead |
static EnumResolver |
EnumResolver.constructUsingToString(Class<Enum<?>> enumCls,
AnnotationIntrospector ai)
Factory method for constructing resolver that maps from Enum.toString() into
Enum value
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.