net.optionfactory.spring.marshaling.jackson.quirks.QuirkHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of marshaling-jackson Show documentation
Show all versions of marshaling-jackson Show documentation
optionfactory-spring jackson marshaling
package net.optionfactory.spring.marshaling.jackson.quirks;
import com.fasterxml.jackson.databind.deser.SettableBeanProperty;
import com.fasterxml.jackson.databind.ser.BeanPropertyWriter;
import java.lang.annotation.Annotation;
public interface QuirkHandler {
Class annotation();
BeanPropertyWriter serialization(A ann, BeanPropertyWriter bpw);
SettableBeanProperty deserialization(A ann, SettableBeanProperty sbp);
}