com.ppiech.auto.value.jackson.annotation.OnPreJsonSerialize Maven / Gradle / Ivy
package com.ppiech.auto.value.jackson.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.CLASS;
/**
* Declare that a method should be called before a class is serialized to JSON.
*
* {@literal @}OnPreJsonSerialize
* public void preSerializeMethod() {
* ...
* }
*
*/
@Target(METHOD)
@Retention(CLASS)
public @interface OnPreJsonSerialize { }
© 2015 - 2024 Weber Informatics LLC | Privacy Policy