users@jersey.java.net

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

From: Eric Han <feuyeux_at_gmail.com>
Date: Mon, 20 Aug 2012 12:20:22 +0800

Thanks a lot and I got the desired answer!
http://jersey.java.net/nonav/documentation/latest/user-guide.html#d4e8

2012/8/20 Tatu Saloranta <tsaloranta_at_gmail.com>

> 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 +-
>