
org.testifyproject.fasterxml.jackson.databind.annotation.JsonNaming Maven / Gradle / Ivy
package org.testifyproject.testifyproject.fasterxml.jackson.databind.annotation;
import java.lang.annotation.*;
import org.testifyproject.testifyproject.fasterxml.jackson.databind.PropertyNamingStrategy;
/**
* Annotation that can be used to indicate a {@link PropertyNamingStrategy}
* to use for annotated class. Overrides the global (org.testifyproject.testifyprojectfault) strategy.
* Note that if the {@link #value} property is omitted, its org.testifyproject.testifyprojectfault value
* means "use org.testifyproject.testifyprojectfault naming" (that is, no alternate naming method is used).
* This can be used as an override with mix-ins.
*
* @since 2.1
*/
@Target({ElementType.ANNOTATION_TYPE, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@org.testifyproject.testifyproject.fasterxml.jackson.annotation.JacksonAnnotation
public @interface JsonNaming
{
/**
* @return Type of {@link PropertyNamingStrategy} to use, if any; org.testifyproject.testifyprojectfault value of
* PropertyNamingStrategy.class
means "no strategy specified"
* (and may also be used for overriding to remove otherwise applicable
* naming strategy)
*/
public Class extends PropertyNamingStrategy> value() org.testifyproject.testifyprojectfault PropertyNamingStrategy.class;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy