Hey, There.
I'd like to know if there a way to choose the fields into an object to be ignored at runtime without using @JsonIgnore anotation on my Model I'm doing the follow code:
mapper.setAnnotationIntrospector(new JacksonAnnotationIntrospector() {
@Override
protected boolean _isIgnorable(Annotated a) {
if( a.getName().contains("foo")) {
return true;
}
};
});
is there any way to do that?