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 |
EnumSerializer._values
This map contains pre-resolved values (since there are ways
to customize actual String constants to use) to use as
serializations.
|
protected EnumValues |
StdKeySerializers.EnumKeySerializer._values |
Modifier and Type | Method and Description |
---|---|
EnumValues |
EnumSerializer.getEnumValues() |
Modifier and Type | Method and Description |
---|---|
static StdKeySerializers.EnumKeySerializer |
StdKeySerializers.EnumKeySerializer.construct(Class<?> enumType,
EnumValues enumValues) |
Constructor and Description |
---|
EnumKeySerializer(Class<?> enumType,
EnumValues values) |
EnumSerializer(EnumValues v,
Boolean serializeAsIndex) |
Modifier and Type | Method and Description |
---|---|
static EnumValues |
EnumValues.construct(Class<Enum<?>> enumClass,
SerializableString[] externalValues) |
static EnumValues |
EnumValues.construct(MapperConfig<?> config,
Class<Enum<?>> enumClass,
List<String> externalValues) |
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 © 2008–2021 FasterXML. All rights reserved.