How can I get XStream to output Scala lists nicely? Can I write a custom converter?

前端 未结 2 1113
执念已碎
执念已碎 2021-01-05 15:14

This code:

println(new XStream.toXML(List(1,2,3)))

produces this XML:


  &         


        
2条回答
提交回复
热议问题