java - Overriding MapperFeature.DEFAULT_VIEW_INCLUSION in order to use @JsonView more efficiently -
if in spring boot application, mapperfeature.default_view_inclusion
disabled default, there way selectively particular set of classes, want properties serialized without adding @jsonview
annotation each property of class?
i don't want enable mapperfeature.default_view_inclusion
because fact properties not serialized default of larger classes, common classes city or state, don't want annotate properties. want them serialize json.
Comments
Post a Comment