[英]Instead of @JsonbIgnore, is it possible to require explicit inclusion of an object's fields on jax-rs (jersey+moxy) JSON serialization?
我有一個實現接口的 JPA 實體,我想通過 jax-rs 端點僅公開該接口定義的字段。 看起來像的東西:public interface ConnectedAppExternal { String getId(); String getName(); } @Entity(name="c ...