Skip to content

implement issue #6168 configure jackson 3 mapper - #6477

Open
bitkid wants to merge 1 commit into
eclipse-vertx:masterfrom
bitkid:sascha/configure-jackson3-mapper
Open

bitkid wants to merge 1 commit into
eclipse-vertx:masterfrom
bitkid:sascha/configure-jackson3-mapper

Conversation

@bitkid

@bitkid bitkid commented Oct 30, 2026

Copy link
Copy Markdown

Motivation:

for jackson v2 the mapper can be accessed and modified through DatabindCodec. in jackson v3 the mapper is immutable and can only be created with a builder which makes it in the current setup impossible to configure the mapper.

Changes:
this change makes the mapper volatile in DatabindCodec (instead of final) and offers a method to rebuild the mapper and thus make it possible to add custom modules and disable/enable features.

for jackson v2 the mapper can be accessed and modified through DatabindCodec. in jackson v3 the mapper is immutable and can only be created with a builder which makes it in the current setup impossible to configure the mapper.

Changes:
this change makes the mapper volatile in DatabindCodec (instead of final) and offers a method to rebuild the mapper and thus make it possible to add custom modules and disable/enable features.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants