Google News
logo
Jackson - Quiz(MCQ)
Which of the following annotations should be used to indicate the name of the POJO to be serialized?
A)
@JsonRoot
B)
@RootPojo
C)
@RootObject
D)
@JsonRootName

Correct Answer :   @JsonRootName


Explanation : @JsonRootName annotations should be used to indicate the name of the POJO to be serialized.

Advertisement