Skip to content

Provide auto-configuration for Jackson's XML data format #47942

@tschut

Description

@tschut

Spring Boot 4 introduces a new JacksonAutoConfiguration. While the old version builds on Spring's Jackson2ObjectMapperBuilder, which can be used to create both Json mappers and Xml mappers, the new version builds on Jackson 3 directly (using JsonMapper.Builder and friends).

The new autoconfiguration only configures beans for JsonMapper and CborMapper. It would be nice (and ease migration) if similar beans to JsonMapper were offered for XmlMapper, e.g.

  • XmlMapper.Builder
  • XmlMapper
  • JacksonXmlMapperBuilderCustomizerConfiguration
  • ProblemDetailsConfiguration

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions