I have to produce the following XML
<object>
<stuff>
<body>
<random>This could be any rondom piece of unknown xml</random>
</body>
</stuff>
</object>
I have mapped this to a class, with a body property of type string.
If I set the body to the string value: "<random>This could be any rondom piece of unknown xml</random>"
The string gets encoded during serialization. How can I not encode the string so that it gets written as raw XML?
I will also want to be able to deserialize this.