com.fasterxml.jackson.databind.EnumNamingStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jackson-databind Show documentation
Show all versions of jackson-databind Show documentation
General data-binding functionality for Jackson: works on core streaming API
package com.fasterxml.jackson.databind;
/**
* Defines how the string representation of an enum is converted into an external property name for mapping
* during deserialization.
*
* @since 2.15
*/
public interface EnumNamingStrategy {
/**
* Translates the given enumName
into an external property name according to
* the implementation of this {@link EnumNamingStrategy}.
*
* @param enumName the name of the enum value to translate
* @return the external property name that corresponds to the given enumName
* according to the implementation of this {@link EnumNamingStrategy}.
*
* @since 2.15
*/
public String convertEnumToExternalName(String enumName);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy