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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
convertEnumToExternalName(java.lang.String enumName)
Translates the givenenumName
into an external property name according to the implementation of thisEnumNamingStrategy
.
-
-
-
Method Detail
-
convertEnumToExternalName
java.lang.String convertEnumToExternalName(java.lang.String enumName)
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
-
-