Close
« Tutorial

Spring MVC - JSON Conversion with Jackson 3 MCQ

0/13
0 ✓
0 ✗

1. Which Spring Framework version first added support for Jackson 3?

2. What is the minimum Java version required by Jackson 3?

3. Which message converter class does Spring provide for Jackson 3 JSON conversion?

4. Which Jackson 2 based message converter is deprecated in Spring Framework 7.0?

5. What is the Maven groupId used by Jackson 3 libraries?

6. Why does Jackson 3 use a new Maven groupId and package names?

7. What is the main design change in Jackson 3 compared to the mutable ObjectMapper of Jackson 2?

8. What is the simplest way to enable Jackson 3 JSON conversion in Spring MVC?

9. How does Spring MVC decide to register the Jackson 3 message converter automatically?

10. When do you need to define a message converter explicitly for Jackson 3?

11. What does the @RequestBody annotation do when the request has a JSON body?

12. What does the @ResponseBody annotation do for a returned Java object?

13. Which interface represents the converters that Spring MVC uses to convert request and response bodies?

14. Which media type should a request use so that a controller method can read a JSON body?

15. Which @RequestMapping attribute limits a method to requests with a given content type, such as JSON?

16. Which @RequestMapping attribute tells Spring that a method returns JSON?

17. A JSON array is returned from a controller method as a List<User>. What is converted into JSON?

18. What happens to Jackson 2 support in a future Spring release after the deprecation in Spring Framework 7.0?

Join