XStream 1.2.2

by Dejan Bosanac

XStream 1.2.2 is released with JettisonMappedXmlDriver used for serialization and deserialization from JSON. It is the driver first presented in Java and JSON post. All modifications are submitted to Jettison and XStream projects respectfully and documented in an appropriate tutorial (http://xstream.codehaus.org/json-tutorial.html). From now on, XStream has a full support for JSON serialization. Enjoy.


Doug Daniels
2008-02-08 12:02:47
I ran into an issue where Jettison represents all numeric values as strings, I wrote up a quick patch to the JettisonMappedXmlDriver. I tried posting on the codehaus Xstream and Jettison mailing lists but for some reason no matter what I do I can't subscribe any email addresses to those lists.

See the problem description:
JSON JettisonMappedXmlDriver quoting numeric values problem

JSON JettisonMappedXmlDriver quoting numeric values Solution

JettisonMappedXmlDriver patch: