eclipse-vertx / eclipse-vertx/vert.x

5.1.x Jackson 3 make ObjectMapper configurable

Open
#6,168 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
14.7k
Forks
2.1k
Avg merge
1d 10h
Merged PRs (30d)
27

Description

### Describe the feature

for jackson 2.x i can access the ObjectMapper used by Vert.x by using DatabindCodec.mapper() and configure it (adding custom modules, enable/disable features etc.)

in jackson 3.x ObjectMapper is immutable and configuration can be done using JsonMapper.builder(). This happens somewhere deep in the Vert.x code and is not accessible from outside.

I would need a hook which either provides a Builder or another way to apply my configurations.

### Contribution

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.