- Notifications
You must be signed in to change notification settings - Fork1.7k
Initial Jackson-3 annotator support#1740
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
unkish commentedDec 9, 2025
Have you tried to build/test it locally using JDK 8 ? |
diegogranados commentedDec 10, 2025
I just tested and build on jdk8 is broken (because of Jackson 3 classes being compiled with target level 17) . It makes sense, as Jackson 3 has raised its JDK baseline to 17 (see item 1 inJackson 3 Migration guide ; there are links to the voting process / decision of uplifting this baseline ). There's no way for jsonschema2pojo to support Jackson 3 without also uplifting baseline jdk to 17 I think. |
diegogranados commentedDec 10, 2025
I've just seen your work for uplifting baseline jdk to 17, great stuff! I'll rebase my PR right away |
The change introduces a new Jackson3 annotator, that modifies theexisting Jackson-2 annotator only for annotations from jackson-databindpackage, that needs to be changed to the new tools.jackson packagein Jackson 3.xThe default annotator continues to be Jackson 2
6085102 to36cb2c5Comparediegogranados commentedDec 10, 2025
Rebased it is :) |
The change introduces a new Jackson3 annotator, that modifies the existing Jackson-2 annotator only for annotations from jackson-databind package, that needs to be changed to the new tools.jackson package in Jackson 3.x
The default annotator continues to be Jackson 2