Skip to content

Instantly share code, notes, and snippets.

@charlouze
charlouze / BeanSerializerListener.java
Last active October 20, 2015 23:04
This gist shows how to add a listener for bean serialization in jackson 1.9.12 and how to provide it using Resteasy 3.0.7. In this example, the listerner is considered as a Chain Of Command.
public interface BeanSerializerListener {
void postSerialization(Object value, JsonGenerator jgen) throws IOException;
}
@charlouze
charlouze / BeanSerializerListener.java
Created October 20, 2015 22:50
This gists shows how to add a listener for bean serialization in jackson.
public interface BeanSerializerListener {
void postSerialization(Object value, JsonGenerator jgen) throws IOException;
}