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? 

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jackson-user/6f7d5622-9175-45ac-93e6-afac0bc68fb5%40googlegroups.com.

Reply via email to