Is there a way to get XStream to generate self closing elements? E.g. 开发者_运维问答 <foo/>
This code: println(new XStream.toXML(List(1,2,3))) produces this XML: <scala.coloncolon serialization=\"custom\">
I have a class structure that I would like开发者_运维知识库 to serialize with Xstream. The root class contains a collection of other objects (of varying types). I would like to only serialize part of
We have an XML that needs to be converted to an object and vice versa. Something like Xstream does. Until now we were using Xstream to marshall and unmarshall the object/xml.