I have written a JSON serializer using JavaScriptSerializer. I am wondering when the server add some property to the JSON object, will my serializer still work?
I have written a JSON serializer using JavaScriptSerializer. I am wondering when the server
Share
Take a look at Forward compatible data contracts on MSDN: http://msdn.microsoft.com/en-us/library/ms731083.aspx
If you use the
DataContractSerializerwithIExtensibleDataObjectas shown in that article you can implement forward compatible serialization and deserialization.