Skip to content

Commit

Permalink
refs #4059 - don't ignore with @JsonIgnore(false)
Browse files Browse the repository at this point in the history
  • Loading branch information
frantuma committed Apr 4, 2022
1 parent d353c3b commit c447254
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ protected boolean ignore(final Annotated member, final XmlAccessorType xmlAccess
if (propertiesToIgnore.contains(propName)) {
return true;
}
if (member.hasAnnotation(JsonIgnore.class)) {
if (member.hasAnnotation(JsonIgnore.class) && member.getAnnotation(JsonIgnore.class).value()) {
return true;
}
if (hasHiddenAnnotation(member)) {
Expand Down

0 comments on commit c447254

Please sign in to comment.