users@jersey.java.net

JSON with JAXB format

From: Fred Cheng <gentatsu_at_yahoo.com>
Date: Thu, 31 Jan 2008 01:31:01 -0800 (PST)

I am currently using jersey and returning objects in
JSON using JAXB annotation. However, the formatting
is a little strange because of its mapping convention.
 Is there a way to configure it to use Badgerfish
notation to get rid of the extraneous "$" elements?

Specifically, I would like to see
{
"variablename" : "value"
}

instead of

{
"variablename" : {"$" : "value"}
}


Thanks,
fred


      ____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping