Json Deserialization to a class
问题 I have dynamic json result and i want to create an object for that json string. After that i will fill that object with the deserialized object. Here is the json string: [{"_34":{ "Id":"34", "Z":["42b23718-bbb8-416e-9241-538ff54c28c9","c25ef97a-89a5-4ed7-89c7-9c6a17c2413b"], "C":[] } }] How does the object look like? Or how can i deserialize this string to a class. Thanks. 回答1: You can use the JavaScriptSerializer which available out of the box or json.net if you prefer something open source.