Sunday 6 May 2012

Deserialize json object with a date time to a c sharp oject

If you want to deserialize and object that has been serialized with the JavaScriptSerializer and it contains a date time object then you may run into a parser / format error for the date time. this can be fixed by doing a replace on the string before deserializing.

No comments:

Post a Comment