With newer java versions it is common to collect a collection with the built-in stream collectors (e.g. stream.toList()) which results in an immutable list.
There is no XStream converter for an unmodifiable list and the output of the xml serialisation looks weird and very different from a normal collection serialisation. There are extra attributes to the top element like class, resolves-to and serialization as well as some extra tags like <java.util.CollSer>.
Is there any way around this or a plan for a built int Converter?
Thank you
With newer java versions it is common to collect a collection with the built-in stream collectors (e.g. stream.toList()) which results in an immutable list.
There is no XStream converter for an unmodifiable list and the output of the xml serialisation looks weird and very different from a normal collection serialisation. There are extra attributes to the top element like class, resolves-to and serialization as well as some extra tags like <java.util.CollSer>.
Is there any way around this or a plan for a built int Converter?
Thank you