How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

How can Spring Boot use different Jackson serialized ObjectMappers for different controllers?

calendar_today May 27, 2026 person accbear domain spring-boot

Background: This is an older Spring Boot 2.4.5 project. A new module related to the intelligent agent API has been added. We want to standardize the JSON format of the API returns for all controllers in the com.xxx.controller.agent directory, but without affecting the JSON return values ​​of older controllers.

open_in_new Read original post