users@jersey.java.net

Re: [Jersey] _at_XmlRootElement not shown in a JSON response

From: Tatu Saloranta <tsaloranta_at_gmail.com>
Date: Mon, 24 Aug 2009 12:07:35 -0700

On Mon, Aug 24, 2009 at 7:42 AM, Grover Blue<grover.blue_at_gmail.com> wrote:
> I don't know what you mean by "convention"

Default Jersey JSON output system is based on JAXB, which is based on
XML. To support JSON output, some mapping convention is needed between
JAXB-imposed output structure (logical xml), and JSON. This is
convention I was referring to.
Jersey documentation describes how you can change convention being
used, I forget what the default is.
For more information, check out links Paul gave, they should explain
things better.

-+ Tatu +-