All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.signalfx.shaded.fasterxml.jackson.databind.EnumNamingStrategy Maven / Gradle / Ivy

The newest version!
package com.signalfx.shaded.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