0

I have binary serialized objects when that were originally serialized with a property that was DateTime. The property has now changed to DateTimeOffset. The deserialization now throws the exception

Object of type 'System.DateTime' cannot be converted to type 'System.DateTimeOffset'.

Is it possible to having something that can do a conversion to the datetimeoffset while it deserializing? i.e. a custom deserializer or onDeserializtion or extension or attribute...

any and all help is appreciated

ChampChris
  • 1,565
  • 5
  • 26
  • 44

0 Answers0