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 |
StdKeySerializers.EnumKeySerializer._values |
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() |
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)
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 © 2017 JBoss by Red Hat. All rights reserved.