Skip to content

Unmodifiable Lists converter #340

@adjiandov

Description

@adjiandov

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions