Skip to content

Add a Jackson 3 converter#4552

Open
sschuberth wants to merge 2 commits intosquare:trunkfrom
sschuberth:jackson3-converter
Open

Add a Jackson 3 converter#4552
sschuberth wants to merge 2 commits intosquare:trunkfrom
sschuberth:jackson3-converter

Conversation

@sschuberth
Copy link

@sschuberth sschuberth commented Nov 5, 2025


  • CHANGELOG.md's "Unreleased" section has been updated, if applicable.
@JakeWharton
Copy link
Collaborator

Thanks! This mostly looks good from a quick check.

I want to familiarize myself with this major release, but otherwise I hope to get this merged this month and released by EOY.

@sschuberth
Copy link
Author

I ran ./gradlew spotlessApply to address the linter issues and squashed the formatting fixes into the last commit.

@sschuberth
Copy link
Author

Mind approving the workflow once more to verify that tests now pass, @JakeWharton?

@sschuberth
Copy link
Author

Mind approving the workflow once more to verify that tests now pass, @JakeWharton?

I've rebased this to catch-up with the new required final-status check, but now running checks needs an approval again.

@sschuberth
Copy link
Author

I hope to get this merged this month and released by EOY.

Is there still a chance to get this merged before the end of the year?

@sschuberth
Copy link
Author

I hope to get this merged this month and released by EOY.

Is there still a chance to get this merged before the end of the year?

Happy new year ping 😉

@JakeWharton
Copy link
Collaborator

I have quit this company a few months ago so any work I do here is entirely volunteer work. I appreciate the contribution, but it'll still probably be a few weeks until I look at this project again.

@patschl
Copy link

patschl commented Jan 16, 2026

Hi! I'm also quite interested in this PR being merged. Is @JakeWharton the only maintainer of this project?

@JakeWharton
Copy link
Collaborator

The design of Retrofit is such that you do not need this to be merged to be unblocked. You can have your own Jackson 3 converter living in your codebase for the time being.

And yes, it's basically just me.

This was implicitly available as a transitive dependency, but that should not be relied on. It is required for `JsonAutoDetect.Visibility.ANY`. Note that `jackson-annotations` is versioned independently of the rest of Jackson and does not use a path-level version suffix.
@sschuberth sschuberth force-pushed the jackson3-converter branch 2 times, most recently from 530062a to be1740e Compare March 12, 2026 11:52
This mostly copies the existing Jackson (2) converter and does the necessary migration [1]. Note that Jackson 3 requires Java 17. [1]: https://github.com/FasterXML/jackson/blob/main/jackson3/MIGRATING_TO_JACKSON_3.md
Copy link

@danrebati-fujitsu danrebati-fujitsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, though I am not a maintainer of this project. I'm just a passer-by 🙂

@sschuberth
Copy link
Author

Looks good to me, though I am not a maintainer of this project. I'm just a passer-by 🙂

Thanks anyway for the review, you had some good findings there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants