users@jersey.java.net

[Jersey] Re: How to configure to remove the prefix _at_ in handling attribute process

From: Tatu Saloranta <tsaloranta_at_gmail.com>
Date: Sun, 19 Aug 2012 09:57:40 -0700

On Sun, Aug 19, 2012 at 6:32 AM, <feuyeux_at_gmail.com> wrote:
> I just encountered an issue in my working, which is jersey(JSR311)
> always puts prefix @ to attribute from java to json

Keyword to look for is "POJO mapping": i.e. change the way Jersey does
its JSON handling.
That at sign is used by backends that rely on XML-to-JSON conversion,
and is to be avoided. It is only default due to historical reasons
(first JSON backend that was added I think).

-+ Tatu +-