Jackson 3.0.0 default for MapperFeature.DEFAULT_VIEW_INCLUSION
#75
cowtowncoder
started this conversation in
Polls
Replies: 1 comment 4 replies
-
I voted to change it to |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(part of #72 uber-Discussion)
As of Jackson 2.x,
MapperFeature.DEFAULT_VIEW_INCLUSION
defaults totrue
for backwards-compatibility. This means that by default, properties not annotated with any@JsonView
are INCLUDED.A suggestion has been made:
FasterXML/jackson-databind#1484
to change it to
false
instead, so only explicitly annotated properties are included.We cannot make the change in Jackson 2.x, but could change it for 3.0.0.
So let's see if there is consensus on whether to make proposed change.
Note on Framework defaults
false
(i.e. different from Jackson 2.x defaults)3 votes ·
Beta Was this translation helpful? Give feedback.
All reactions