Annotation Type JsonIgnore


@Retention(CLASS) @Target(FIELD) public @interface JsonIgnore

Excludes a @Mapped field from the JSON projection. The same field still participates in XML mapping unless @XmlTransient is also present.

The server's generated codecs honour it too: a field that points back at its owner is the usual candidate, since writing both ends of that loop never finishes.