Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

@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.