Home »
MCQs »
Jackson MCQs
Which of the following is the property inclusion annotation?
17. Which of the following is the property inclusion annotation?
- @JsonCreator
- @JsonValue
- @JsonInclude
- All of the above
Answer: C) @JsonInclude
Explanation:
Some of the property inclusion annotations are:@JsonInclude, @JsonIgnore, @JsonAutoDetect.