Serializing and deserializing XElement did not work properly before. This PR adds a XElementSurrogate which allows all serializers in duality to properly handle XElement.
Additionally XmlSerializer has a small extra modification to make the serialized xml more readable, without this change the serialized xml would end up as a base64 string.
Serializing and deserializing
XElement
did not work properly before. This PR adds aXElementSurrogate
which allows all serializers in duality to properly handleXElement
.Additionally
XmlSerializer
has a small extra modification to make the serialized xml more readable, without this change the serialized xml would end up as a base64 string.TODO