Package com.fasterxml.jackson.databind
Interface EnumNamingStrategy
- All Known Implementing Classes:
EnumNamingStrategies.CamelCaseStrategy
public interface EnumNamingStrategy
Defines how the string representation of an enum is converted into an external property name for mapping
during deserialization.
- Since:
- 2.15
-
Method Summary
Modifier and TypeMethodDescriptionconvertEnumToExternalName
(String enumName) Translates the givenenumName
into an external property name according to the implementation of thisEnumNamingStrategy
.
-
Method Details
-
convertEnumToExternalName
Translates the givenenumName
into an external property name according to the implementation of thisEnumNamingStrategy
.- Parameters:
enumName
- the name of the enum value to translate- Returns:
- the external property name that corresponds to the given
enumName
according to the implementation of thisEnumNamingStrategy
. - Since:
- 2.15
-