程序包 | 说明 |
---|---|
org.codehaus.jackson.map.ser |
Contains implementation classes of serialization part of
data binding.
|
org.codehaus.jackson.map.ser.std | |
org.codehaus.jackson.map.util |
Utility classes for Mapper package.
|
构造器和说明 |
---|
EnumSerializer(EnumValues v)
已过时。
|
限定符和类型 | 字段和说明 |
---|---|
protected EnumValues |
EnumMapSerializer._keyEnums
If we know enumeration used as key, this will contain
value set to use for serialization
|
protected EnumValues |
EnumSerializer._values
This map contains pre-resolved values (since there are ways
to customize actual String constants to use) to use as
serializations.
|
限定符和类型 | 方法和说明 |
---|---|
EnumValues |
EnumSerializer.getEnumValues() |
构造器和说明 |
---|
EnumMapSerializer(JavaType valueType,
boolean staticTyping,
EnumValues keyEnums,
TypeSerializer vts,
BeanProperty property)
已过时。
Since 1.8, use variant that takes value serializer
|
EnumMapSerializer(JavaType valueType,
boolean staticTyping,
EnumValues keyEnums,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<Object> valueSerializer) |
EnumSerializer(EnumValues v) |
限定符和类型 | 方法和说明 |
---|---|
static EnumValues |
EnumValues.construct(Class<Enum<?>> enumClass,
AnnotationIntrospector intr) |
static EnumValues |
EnumValues.constructFromName(Class<Enum<?>> enumClass,
AnnotationIntrospector intr) |
static EnumValues |
EnumValues.constructFromToString(Class<Enum<?>> enumClass,
AnnotationIntrospector intr) |