[Jersey] Re: nil instead of null

From: nbaliga <>
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:
Sent from the Jersey mailing list archive at