Allow use of @JsonIgnoreProperties
for POJO-valued arrays, Collection
s
#1060
Milestone
@JsonIgnoreProperties
for POJO-valued arrays, Collection
s
#1060
Currently it is possible to use
@JsonIgnoreProperties
not only on classes, but also on POJO-valued properties. If so, ignorals are combined with ones that class itself may have.This can not, however, be used for Collections or arrays, as they have no properties to ignore. But if collection/map contents are POJOs, it would semantically make sense to allow usage for value type (elements), if possible.
It might also make sense to allow similar approach for Map values, but there is the problem with ambiguity, as Map keys can be considered properties, and currently functionality does support ignoral.
The text was updated successfully, but these errors were encountered: