Skip to content

Fix #1948 can force deser Locale use java style #1951

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

Closed
wants to merge 1 commit into from

Conversation

takeseem
Copy link

@takeseem takeseem commented Mar 1, 2018

see #1948

config: System.setProperty("jackson.std.locale.de.java", "not empty")
@cowtowncoder
Copy link
Member

cowtowncoder commented Mar 19, 2018

No. Jackson does not and will not use Java system properties for configuration, so that will not work as a mechanism at all.
(main reason being that it's a really bad way to configure library like Jackson which may be used by many other frameworks, components, and configuration needs to be scoped by something, like for individual ObjectMapper).

What would be most helpful here would be to start with specific test cases, and explain what is the specific problem.
I'll re-read linked to issue.

@cowtowncoder
Copy link
Member

As per comments on #1948, will not accept this patch.
You may want to use custom deserializer based on this logic for your own usage but I don't think it works as general handler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants