-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
3.xIssues to be only tackled for Jackson 3.x, not 2.xIssues to be only tackled for Jackson 3.x, not 2.x
Milestone
Description
There were an issue with deserializing locales #1344
But there is still a problem that during serialization Jackson is executing toString() method for locale. According to the official javadoc, toString() must be used for debug purposes. I think it is better to use toLanguageTag() for the serialization since it produces locale represenation with a hyphen as a delimiter:
https://docs.oracle.com/javase/7/docs/api/java/util/Locale.html
Metadata
Metadata
Assignees
Labels
3.xIssues to be only tackled for Jackson 3.x, not 2.xIssues to be only tackled for Jackson 3.x, not 2.x