com.fasterxml.jackson.databind.annotation.EnumNaming 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
The newest version!
package com.fasterxml.jackson.databind.annotation;
import com.fasterxml.jackson.databind.EnumNamingStrategy;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation that can be used to indicate a {@link EnumNamingStrategy}
* to use for annotated class.
*
* @since 2.15
*/
@Target({ElementType.ANNOTATION_TYPE, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@com.fasterxml.jackson.annotation.JacksonAnnotation
public @interface EnumNaming {
/**
* @return Type of {@link EnumNamingStrategy} to use, if any. Default value
* of EnumNamingStrategy.class
means "no strategy specified"
* (and may also be used for overriding to remove otherwise applicable
* naming strategy)
*
* @since 2.15
*/
public Class extends EnumNamingStrategy> value();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy