Closed gitsupi closed 1 year ago
No, Jackson does not support such nested configuration. The reason is technical, in that serializers/deserializers do not have access in hierarchy beyond immediate next level: because of this, annotations cannot specify deeper processing constraints either.
You can add @JsonIgnoreProperties
on fields, however, to do some of what you want.
But it does and will not support general path expressions.
suppose we have Product Object it has
we need something like
@JsonIgnoreProperties(value = {"products","shops['products'],"S['X[""Z]']""})