For JAXB based processors, that would be a bug. Do you see the property
generated also for XML output?
Otherwise, if you are using the Jackson based procesor,
(just looking at the Jackson javadocs),
there should be a @JsonIgnore annotation available
for this purpose i guess.
~Jakub
Rahul Joshi wrote:
> Hi,
>
> The bean that I am using for JSON output contains few properties which
> I don't want to return to client.
> I have used @XmlTransient annotation for those properties but still
> those field appears in the JSON output.
>
> Is there any other way of ignoring the properties.
>
> Thanks
> -Rahul
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>