enum response update 0.6 version

8 views
Skip to first unread message

jsonwebservice

unread,
Feb 21, 2011, 5:26:33 PM2/21/11
to jsonwebservice
Enum constant XmlEnumValue take higher priority in JSON response.

E.g:

@XmlEnumValue("CONST1")
CONST_1("CONST1")

in 0.5 or early version constant result in json as "CONST_1" but in
0.6 or latter version this result in "CONST1".

This change is due to adapt value actually declared in xsd. JAXB
generate enum constants with number separated by "_" but it is not
actual value declared in xsd.
Reply all
Reply to author
Forward
0 new messages