users@jersey.java.net

Re: [Jersey] Null handling issue in JSON-JAXB unmarshalling

From: Jakub Podlesak <Jakub.Podlesak_at_Sun.COM>
Date: Wed, 16 Dec 2009 10:36:27 +0100

On Tue, Dec 15, 2009 at 06:58:08PM +0100, bea wrote:
> Hi,
>
> I'm having problems unmarshalling a JSON with null values. Exactly the same
> as refering in the following bug:
>
> https://jersey.dev.java.net/issues/show_bug.cgi?id=296
>
> How is its evolution? Is it resolved in any other version of jersey?

The bug is not resolved, but you can use the Jackson JAX-RS provider
as a workaround. Please see the example at [1]

HTH,

~Jakub

[1]http://download.java.net/maven/2/com/sun/jersey/samples/jacksonjsonprovider/jacksonjsonprovider/1.1.5-ea-SNAPSHOT/jacksonjsonprovider-1.1.5-ea-SNAPSHOT-project.zip

>
> Cheers!
>
> --
> Beatriz Nombela Escobar
> beaotx_at_gmail.com

-- 
http://blogs.sun.com/japod