Affects Version/s: 1.1
Fix Version/s: 1.3
Number of attachments :
I use jettison with jboss resteasy so I'm not a "real" jettison user.
I noticed that when I tried to unmarshall a String property like :
myText : null
My domain model object contains :
String myText = "null";
I tried to debug and found something strange :
at org.codehaus.jettison.mapped.MappedXMLStreamReader(MappedXMLStreamReader.java:152) :
currentValue is assigned with the toString() of newObj
but in case of
newObj is JSonObject.NULL and JSonObject.NULL.toString() is "null"
Shouldn't this class handle a special case for JSonObject.NULL and assign null to currentValue?