Closed liammclennan closed 8 years ago
Yes, just deserialize using object
as your type parameter. In general, the serialized type should match the deserialized type. If unsure what type you are deserializing, just use object
in all your serialization and deserialization invocations.
That works. Thank you.
My values are boxed before serializing to xml (for Sql xml type), which produces:
This then fails to deserialize with:
Is there a way to make it work?