Correct Answer: Annotate the Enum with @JsonFormat(shape= JsonFormat.Shape.OBJECT)
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Spring MVC Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Spring MVC MCQ Questions
Which statement best describes the <context:component-scan> tag for Spring XML configuration?
Choose the reason why the expression ${user.home} can be null despite the use of @PropertySource annotation?
Which is the best explanation as to why this Java configuration fails to correctly override / add a resource handler?
Which class can be used to call Stored Procedures in Spring?
What are the benefits of IOC?
Regarding the @Resource annotation, which of the following statements is false?
Fill in the blank: _______ is a class-level annotation indicating that an object is a source of bean definitions.
Which of the following annotations are supported by classes with the @Bean annotation?
Which of the following is not a built-in Spring MVC bean scope?
Which of the following statements are correct, with respect to using the @PreAuthorize annotation in Spring controller methods?