Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(3.x) Move Locale configuration from per-call config to per-mapper config #2558

Open
cowtowncoder opened this issue Dec 5, 2019 · 0 comments
Labels
3.x Issues to be only tackled for Jackson 3.x, not 2.x

Comments

@cowtowncoder
Copy link
Member

Since configuration of Locale is likely to affect construction of deserializers (for example when dealing with Turkish "dotless i" conversion problem; and possibly for date/number formatting) and perhaps serializers; and since it also is overridable with @JsonFormat (which by definition must be handled in such scope and can not vary per-call, leading to a mess if combining the two is necessary); it seems necessary to change scoping of Locale so that it can NOT be changed on per-call (per readValue()/writeValue()) basis.

It may be necessary to do the same for TimeZone settings as well, for similar reasons.

@cowtowncoder cowtowncoder added the 3.x Issues to be only tackled for Jackson 3.x, not 2.x label Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issues to be only tackled for Jackson 3.x, not 2.x
Projects
None yet
Development

No branches or pull requests

1 participant