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

com.yammer.dropwizard.json.JsonSnakeCase Maven / Gradle / Ivy

There is a newer version: 0.6.2
Show newest version
package com.yammer.dropwizard.json;

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 {@code snake_case} JSON field names instead
 * of {@code camelCase} field names.
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@JacksonAnnotation
public @interface JsonSnakeCase {

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy