How do I use JsonInclude?

@JsonInclude annotation can be used to indicate when the annotated property can be serialized . Normally property values are always included, but by using this annotation we can specify simple exclusion rules based on property values. This annotation can be used on a field, method or constructor parameter.

Read more

How do I use JsonInclude?

@JsonInclude annotation can be used to indicate when the annotated property can be serialized . Normally property values are always included, but by using this annotation we can specify simple exclusion rules based on property values. This annotation can be used on a field, method or constructor parameter.

Read more