users@jersey.java.net

Re: Posting an object as Json with Jersey Client?

From: Paul Sandoz <Paul.Sandoz_at_oracle.com>
Date: Tue, 23 Nov 2010 12:36:36 +0100

On Nov 23, 2010, at 12:21 PM, James Carr wrote:

> Hi All,
>
> I've been trying to wrap my head around using jersey's client to post
> an object as a json or xml packet. Are there any solid examples of
> doing this out there?
>

See the following:

http://download.java.net/maven/2/com/sun/jersey/samples/jaxb/1.4/jaxb-1.4-project.zip

http://download.java.net/maven/2/com/sun/jersey/samples/json-from-jaxb/1.4/json-from-jaxb-1.4-project.zip

Paul.