-
Notifications
You must be signed in to change notification settings - Fork 355
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
Automatically serialize/deserialize Java 8 datatype #4311
Conversation
7aba0e4
to
bc8a345
Compare
This patch adds support for automatically serializing and deserialzing for new "datatypes" introduced in Java 8 for jersey-media-json-jackson module. Signed-off-by: praveenkrishna <praveenkrishna@tutanota.com>
This PR does not look right:
|
hi, thanks for your comment
I have checked it from Jackson modules jdk8 it looks like they share a same group and artifactID. I'll add test for the same and debugging on why |
However, I am not convinced we should modify the repackaged |
Actually we can modify the |
The preferred way to do this should be to extend What might be better is an extended JacksonJsonProvider that would get |
Okay. Will close it and work on the latter approach. Thank you for your insights. |
Actually, now I look at their repo, they have it as a service. So it should be automatically loaded when on classpath by Jackson somehow. |
I cannot find a code that uses ServiceLoader and in the tests, the |
But aren't those features are a part of Jackson 3.0 ? |
Maybe. But 3.0 may have a few months before release and the services are available for Jackson 2.x. |
This patch adds support for automatically serializing and deserialzing for new "datatypes" introduced in Java 8 for jersey-media-json-jackson module.
Fixes #3637.