How to configure PersistentEntityJackson2Module in Spring Boot 3.4.0?
We are migrating the Spring Boot application (mixture of Spring Data Rest with plain vanilla mvc) from version 2.5.12 to 3.4.0. The application heavily depends on the ObjectMapper configured with https://docs.spring.io/spring-data/rest/docs/current/api/org/springframework/data/rest/webmvc/json/PersistentEntityJackson2Module.html module.