-
Notifications
You must be signed in to change notification settings - Fork 352
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
Support for jackson-jakarta-rs-json-provider (Jackson 2.13) #4891
Comments
My project suffers from exactly the same thing. It would be nice to have a fix. Thanks. Chris |
Big plus one for this, I could give it a shot. Maybe I need some help from @jansupol. |
There are some pitfalls when using JAX-B 3/4 (jackson-module-jakarta-xmlbind-annotations) with Jackson module regarding compatibility.
One option is to have multiple modules, 0ne for JAX-B 2, one for JAX-B 3. That seems to have a bunch of disadvantages (code duplication, module naming, maintenance...). At the same time, we do not want to have the dependency on JAX-B 3 optional. We want to have the Jackson module bring over the required dependencies. The required dependency would be jackson-module-jakarta-xmlbind-annotations. This requirement breaks the existing applications. However, adding the required dependency would be enough, and we consider it the best option. The proposal is #4963. |
Since the recently released version 2.13 of Jackson there is a new module
jackson-jakarta-rs-json-provider
, which is the Jakarta-replacement ofjackson-jaxrs-json-provider
(using thejakarta
instead of the deprecatedjavax
namespace).However, the Jersey module
jersey-media-json-jackson
still uses only thejackson-jaxrs-json-provider
module and is not compatible to the new Jackson module due to changed packages and class names.Would you kindly provide a way to use the new Jackson version with Jakarta-XmlBind together with Jersey.
Note: there is already a ticket in the Jackson repository concerning this issue: FasterXML/jackson-modules-base#153
The text was updated successfully, but these errors were encountered: