SoapFormatter: Ignore missing fields
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Is it possible to make the soapformatter ignore missing fields? Eg if the file have been saved in a previous format and I later try to deserialize it into a new format where not all fields match 100% Im aware of [OptionalField], but that is the opposite of what I want. Optional lets me introduce new fields into my format. I want to simply ignore old fields that are not used any more. And I also know that I can implement ISerializable, but I do not want that, I just want to use the default mechanism but ignoring missing fields. (last resort would be to roll my own formatter, but im trying to avoid that)
Blog: http://www.rogeralsing.com Projects: http://www.puzzleframework.com