We had the same issue as #43, we create our ObjectMapper with these settings:
mapper = new ObjectMapper();
mapper.configure(MapperFeature.AUTO_DETECT_GETTERS, false);
mapper.configure(MapperFeature.AUTO_DETECT_SETTERS, false);
...
We can easily add support for this case to this library using the following annotation to all classes that are supposed to be (de)serialized using jackson and use getters/setters:
This will not affect existing users that are using the default values of AUTODETECT*, as getterVisibility = Visibility.PUBLIC_ONLY and setterVisibility = Visibility.PUBLIC_ONLY are the defaults.
Fixes #43
We had the same issue as #43, we create our ObjectMapper with these settings:
We can easily add support for this case to this library using the following annotation to all classes that are supposed to be (de)serialized using jackson and use getters/setters:
This will not affect existing users that are using the default values of AUTODETECT*, as
getterVisibility = Visibility.PUBLIC_ONLY
andsetterVisibility = Visibility.PUBLIC_ONLY
are the defaults.