This project has moved. For the latest updates, please go here.

Need help deserializing Json Data

Apr 6, 2010 at 3:01 PM
Edited Apr 8, 2010 at 2:59 PM

I'm calling a web server that returns data in the following format:


I know how to deserialize to get the 'success' and 'errorList' members, even the 'Id' field, but I don't know how to decode 'data' because its members use the '.' character to denote that 'PersonalInfo' is a class.  I'm accustomed to seeing something like "data : { Personal Info { "FirstName":"Sandy", "LastName":"Cheeks" } ... }", and I know how to organize my class object to handle that, but I don't know how to handle the Json string shown above.

I'm guessing I need to write a JsonConverter, but (a) I don't know if that's the right answer, and (b) I can't find any examples on the net that would help me figure out how to properly decode this data.

Can anyone provide some pointers?  Thanks.