Package | Description |
---|---|
com.fasterxml.jackson.databind.ser.std | |
com.fasterxml.jackson.databind.util |
Utility classes for Mapper package.
|
Modifier and Type | Field and Description |
---|---|
protected EnumValues |
EnumMapSerializer._keyEnums
Deprecated.
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.
|
Modifier and Type | Method and Description |
---|---|
EnumValues |
EnumSerializer.getEnumValues() |
Constructor and Description |
---|
EnumMapSerializer(JavaType valueType,
boolean staticTyping,
EnumValues keyEnums,
TypeSerializer vts,
JsonSerializer<Object> valueSerializer)
Deprecated.
|
EnumSerializer(EnumValues v)
Deprecated.
Since 2.1
|
EnumSerializer(EnumValues v,
Boolean serializeAsIndex) |
Modifier and Type | Method and Description |
---|---|
static EnumValues |
EnumValues.construct(SerializationConfig config,
Class<Enum<?>> enumClass)
NOTE: do NOT call this if configuration may change, and choice between toString()
and name() might change dynamically.
|
static EnumValues |
EnumValues.constructFromName(MapperConfig<?> config,
Class<Enum<?>> enumClass) |
static EnumValues |
EnumValues.constructFromToString(MapperConfig<?> config,
Class<Enum<?>> enumClass) |
Copyright © 2014–2015 FasterXML. All rights reserved.