Spring Framework 7 should be the opportunity for a revision of Jackson support.
That involves:
- Adding support for Jackson 3 which should use a new package (com.fasterxml
-> tools.jackson
) and new artifact coordinates if it is released on time.
- Decide if we deprecate or not Jackson 2 support
- Switch Jackson 3 HTTP converters to SmartHttpMessageConverter
- Evaluate if we can implement a Jackson2ObjectMapperBuilder
successor that can live in spring-core
instead of spring-web
since that's a popular asks by portfolio projects that do not depends on spring-web
but need to serialize/deserialize JSON. Notice that modern Jackson versions already provide a builder via JsonMapper.Builder
.
- See if for JSON we use JsonMapper
instead of ObjectMapper