A simple class has "is" methods and "get" methods. I would like Jackson
to ignore calling all "is" methods.
I tried by setting ObjectMapper
's visibility by setting as
mapper.setVisibility(PropertyAccessor.IS_GETTER, Visibility.NONE);
But it is still considering the is-getter
methods, why?
Jackson
serializes getter methods and public variables. Is it possible to indicate Jackson
to call only public getter methods but not serialize variables?