Skip to content

Add builder-based constructors to Jackson 3 infrastructure #35597

@sdeleuze

Description

@sdeleuze

Currently Jackson 3 codecs and converters provide a default and a mapper-based constructor.

With Jackson 3 mappers being immutable (even if .rebuild() can be used ), and some Jackson configuration customized (for example with ProblemDetailJacksonMixin or the Jackson module auto-detection), we should:

  • Update mapper-based constructors to clarify that there is no reconfiguration
  • Add a builder-based constructor that will add the related refined configuration (like ProblemDetailJacksonMixin or the module autodetection) and document the behavior in the Javadoc.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions