I\'m refactoring some objects that are serialized to XML but need to keep a few properties for backwards compatibility, I\'ve got a method that converts the old object into
You may try the following workaround:
add a method named
ShouldSerializeOldObject () { return true; } ShouldSerializeAnotherOldObject () { return true }
this may override the obsolete Attribute