Wiki Link: [discussion:75975]
Deserialize different property names  


Nov 23 2009 at 5:15 PM
Edited Nov 23 2009 at 5:16 PM

Hi,

If a property name changes I want to be able to map it to a new property name.

Say I have a Person object with the FullName property and I have save a json representation of this to a file.

Now I have decided to change the property name to something else (say ABC). 

How can I intercept the deserialization process and tell json.net to use a different property name (ABC now).

 

Thanks,

Saar.


Updating...
© 2006-2010 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2010.1.12.16187