Spring Boot - Request and Response Handling
What is wrong with this code snippet that tries to pretty-print JSON?
ObjectMapper mapper = new ObjectMapper(); mapper.enable(SerializationFeature.PRETTY_PRINT); String json = mapper.writeValueAsString(user);
