MCQs > IT & Programming > Spring MVC > Which of the following is the most efficient way to serialize an Enum to JSON with Jackson 2.1?

Spring MVC MCQs

Which of the following is the most efficient way to serialize an Enum to JSON with Jackson 2.1?

Answer

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

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Spring MVC Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it