You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cowtowncoder
changed the title
Tighten accessor naming rules to not allow leading lower-case or non-letter character
(3.x) Tighten accessor naming rules to not allow leading lower-case or non-letter character
Oct 13, 2020
cowtowncoder
added
3.0
Issue planned for initial 3.0 release
and removed
3.x
Issues to be only tackled for Jackson 3.x, not 2.x
labels
Dec 1, 2024
cowtowncoder
changed the title
(3.x) Tighten accessor naming rules to not allow leading lower-case or non-letter character
Tighten accessor naming rules to not allow leading lower-case or non-letter character
Dec 4, 2024
Funny: support for this has been available since 2.12. Quite easy to fix after all.
cowtowncoder
changed the title
Tighten accessor naming rules to not allow leading lower-case or non-letter character
Tighten accessor naming rules to not allow leading lower-case or non-letter character for getters/setters
Mar 28, 2025
(follow-up to #2729)
Jackson 2.x allows accessors names like:
get_value()
,island()
,setter()
(to indicate properties_value
,land
andter
, respectively)although does allow ways to change these defaults via
AccessorNamingStrategy
(since #2800 added for 2.12).This is due to backwards-compatibility.
But with 3.0 we can change the restrictions and it seems reasonable to default to not including examples like listed above.
The text was updated successfully, but these errors were encountered: