Seems like it doesn't belong there. RestEasy relies on JAXB's  @XmlTransient and uses that for all providers, incl. Jackson.

Ondra



Ondřej Žižka píše v So 22. 09. 2012 v 04:27 +0200:
Hi Pete,

this is in the JAX-RS QS:

    @XmlTransient
    // JSON: uncomment to include json support (note json is not part of the JAX-RS standard)
    //@JsonIgnore
    public User getOwner() {
        return owner;
    }

I didn't find JsonIgnore anywhere else than Jackson. It's not in Quickstart's deps.
I've checked public API  (wow, it's actually useful! :)  and it's not there.

So - does @JsonIgnore even belong there?

Thanks,
Ondra
_______________________________________________
jdf-dev mailing list
jdf-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jdf-dev