Xstream: getting rid of Collection implementations in resulting xml

coolmoejoetofu

New Member
What's the easiest way to get rid of this stuff with Xstream:\[code\]<myRows class="java.util.Collections$UnmodifiableRandomAccessList" ...\[/code\]Preferably I'd like to get rid of all the List implementations and deserialize them back to plain ArrayList when reading. I'm already doing basic aliasing for my own classes and that works, e.g. \[code\]"foo.bar.MyClass" -> "my-class"\[/code\]
 
Back
Top