SyntaxFix
Write A Post
Hire A Developer
Questions
You can also probably annotate the class with @JsonIgnoreProperties(ignoreUnknown=true) to ignore the fields undefined in the class
@JsonIgnoreProperties(ignoreUnknown=true)