com.bld.commons.utils.json.annotations.UpperLowerCase Maven / Gradle / Ivy
/**
* @author Francesco Baldi
* @mail [email protected]
* @class bld.commons.json.annotations.JsonUpperLowerCase.java
*/
package com.bld.commons.utils.json.annotations;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import com.bld.commons.utils.json.annotations.deserialize.UpperLowerDeserializer;
import com.bld.commons.utils.types.UpperLowerType;
import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
/**
* The Interface JsonUpperLowerCase.
*/
@Retention(RUNTIME)
@Target({ FIELD, METHOD,PARAMETER })
@JacksonAnnotationsInside
@JsonDeserialize(using = UpperLowerDeserializer.class)
@JsonInclude(Include.NON_NULL)
public @interface UpperLowerCase {
/**
* Value.
*
* @return the upper lower type
*/
public UpperLowerType value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy