users@jersey.java.net

[Jersey] Re: nil instead of null

From: nbaliga <nbaliga_at_cleartrial.com>
Date: Fri, 23 Sep 2011 10:42:11 -0700 (PDT)

After attaching sources and doing some debugging and stepping through, it
looks like the JAXB XML Serializer instructs the Stax2JacksonWriter to write
the nil true value.

So Jackson is essentially doing what its told.

Since I want to use JAXB annotations for both JSON and XML generation,
cannot use pure Jackson approach, it doesn't look like there's any way out
of this situation.



--
View this message in context: http://jersey.576304.n2.nabble.com/nil-instead-of-null-tp6821681p6825079.html
Sent from the Jersey mailing list archive at Nabble.com.