Which of the following annotations should be used to indicate the name of the POJO to be serialized?

20. Which of the following annotations should be used to indicate the name of the POJO to be serialized?

  1. @JsonRoot
  2. @RootPojo
  3. @JsonRootName
  4. @RootObject

Answer: C) @JsonRootName

Explanation:

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

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.