users@jersey.java.net

Can I suppress adding of _at_'s for attributes when generataing JSON from JAXB

From: Paul Taylor <paul_t100_at_fastmail.fm>
Date: Fri, 06 Nov 2009 09:24:48 +0000

Using defaults I get:

{"artist-list":{"@offset":"0","@count":"1","artist":{"@type":"group","@id":"8538e728-ca0b-4321-b7e5-cff6565dd4c0","@score":"100","name":
"Depeche Mode","sort-name":"Depeche
Mode","life-span":{"begin":"1980"},"alias-list":{"alias":"Depech Mode"}}}}

but I've been asked for:

{"artist-list":{"offset":"0","count":"1","artist":{"type":"group","id":"8538e728-ca0b-4321-b7e5-cff6565dd4c0","score":"100","name":
"Depeche Mode","sort-name":"Depeche
Mode","life-span":{"begin":"1980"},"alias-list":{"alias":"Depech Mode"}}}}

Is there something I can change in my JSON configuration to do this.

thanks Paul