jackson-databind icon indicating copy to clipboard operation
jackson-databind copied to clipboard

Move `Locale` configuration from per-call config to per-mapper config

Open cowtowncoder opened this issue 6 years ago • 1 comments

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 avatar Dec 05 '19 03:12 cowtowncoder

Missed 3.0, hope to tackle for 3.1

cowtowncoder avatar Sep 30 '25 23:09 cowtowncoder