package io.dropwizard.jackson;

import com.fasterxml.jackson.annotation.JacksonAnnotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

Marker annotation which indicates that the annotated case class should be serialized and deserialized using snake_case JSON field names instead of camelCase field names.
/** * Marker annotation which indicates that the annotated case class should be * serialized and deserialized using {@code snake_case} JSON field names instead * of {@code camelCase} field names. */
@Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @JacksonAnnotation public @interface JsonSnakeCase { }