users@jersey.java.net

Re: [Jersey] Unmarshaling JAXB object from JSON

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Tue, 31 Mar 2009 11:39:19 -0400

Farrukh Najmi wrote:
>
> Hi Paul,
>
> In an earlier email you had mentioned that jersey can unmarshal a JAXB
> object from a JSON object.
> My jersey client sends a POST message with JSON string as value for a
> form parameter. How can I
> take that JSON string and unmarshal it to a JAXB object. I would be
> grateful for some focused tip on
> how to do this unmarshalling manually. Thanks.
>
Specifically, how can I get a JAXB unmarshaller that knows how to
unmarshal JSON string into a JAXB object?
Thanks.

-- 
Regards,
Farrukh
Web: http://www.wellfleetsoftware.com