users@jersey.java.net

Re: [Jersey] Unmarshaling JAXB object from JSON

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Tue, 31 Mar 2009 13:58:21 -0400

Marc Hadley wrote:
> I think if you inject an instance of Providers then you should be able
> to use the getMessageBodyReader method to get a reader that will
> unmarshall your JSON string.
>

Thanks Marc. Can you tell me how to "inject an instance of Providers". I
have a JAXBContextResolver class that implements
ContextResolver<JAXBContext>. I do not know though how I can get an
instance of that class injected in my class.

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