Skip to content

Jackson v3 support#5531

Merged
vietj merged 30 commits intomasterfrom
jackson-v3
Apr 23, 2026
Merged

Jackson v3 support#5531
vietj merged 30 commits intomasterfrom
jackson-v3

Conversation

@vietj
Copy link
Copy Markdown
Member

@vietj vietj commented Mar 25, 2025

  • multi release jar
  • jackson core
  • jackson databind
  • hybrid pool
  • documentation
  • jackson constraint tests

@vietj vietj added this to the 5.0.0 milestone Mar 25, 2025
@vietj vietj modified the milestones: 5.0.0, 5.1.0 May 14, 2025
@cazacugmihai
Copy link
Copy Markdown

When will Vert.x switch to Jackson 3.x?

@vietj
Copy link
Copy Markdown
Member Author

vietj commented Dec 19, 2025

we will switch I think it vertx 6.0, but provide a replacement for users that want to use Jackson 3.x in addition of 2.x

@hantsy
Copy link
Copy Markdown

hantsy commented Jan 20, 2026

If possible creating multiple versioned jar to support the new features.

Jackson v3 requires Java 17, but Vertx also support Java 21 Virtual thread(I know Quarkus has it, and the Quarkus kernel is based on Vertx).

@vietj vietj force-pushed the jackson-v3 branch 3 times, most recently from 4413334 to 145fa7c Compare March 17, 2026 17:16
@vietj
Copy link
Copy Markdown
Member Author

vietj commented Mar 17, 2026

@hantsy that's what we might do

Comment thread vertx-core/pom.xml Outdated
@vietj vietj force-pushed the jackson-v3 branch 7 times, most recently from 0aa7f59 to be6e867 Compare March 23, 2026 22:42
@vietj vietj changed the title Proof of concept of Jackson v3 integration Prototyping Jackson v3 integration Mar 24, 2026
@vietj vietj force-pushed the jackson-v3 branch 2 times, most recently from e8efc8d to 01cc5f5 Compare April 20, 2026 13:38
vietj added 4 commits April 20, 2026 16:32
Motivation:

Jackson v3 should only be used when Jackson v2 is not on the classpath.

Changes:

Update JacksonFactory precedence rule that was not correct.
@vietj vietj self-assigned this Apr 21, 2026
vietj added 3 commits April 21, 2026 15:52
Some portions of this content were created with the assistance of Claude Code.
…va 11 because it cannot read the Jackson v3 module-info bytecode.
@vietj vietj changed the title Prototyping Jackson v3 integration Jackson v3 support Apr 21, 2026
@vietj vietj force-pushed the jackson-v3 branch 3 times, most recently from 9ff9e9f to cf4d92c Compare April 22, 2026 08:05
@vietj vietj marked this pull request as ready for review April 22, 2026 08:57
Copy link
Copy Markdown
Member

@jponge jponge left a comment

Choose a reason for hiding this comment

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

It looks good to me, nice work!

I've checked Jackson 3 and the baseline is Java 17, so if you want to lower the MR jar to 17 and 21 I think it works as well.

@vietj
Copy link
Copy Markdown
Member Author

vietj commented Apr 23, 2026

@jponge since java 17 is EOL and 21 brings Virtual threads, I'm keen sticking to 21 so we can handle VT specific code in the same Java21 src tree

@vietj vietj merged commit 7be2d4a into master Apr 23, 2026
7 checks passed
@vietj vietj deleted the jackson-v3 branch April 23, 2026 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants