users@jersey.java.net

[Jersey] Re: How to post only selective fields using the client

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Fri, 19 Oct 2012 12:02:36 +0200

Hi,
the answer depends on which JSON binding provider you are using. There is no standard so all providers use their own proprietary mechanisms.

Marek

On Oct 15, 2012, at 5:20 PM, Jaco le Roux <jabalsad_at_gmail.com> wrote:

> Hi,
>
> When POSTing a Java object as JSON to a RESTful service, the entire
> object gets serialized into the request. Is there a way to choose
> which member variables get converted to JSON?
>
> Thanks!