json2csharp

Deserializing this JSON response to C#

[亡魂溺海] 提交于 2019-12-11 02:13:37
问题 I have this specific JSON response that I am trying to deserialize without success. I am hoping someone can help me. Here is the JSON response I get: { "num_locations": 1, "locations": { "98765": { "street1": "123 Fake Street", "street2": "", "city": "Lawrence", "state": "Kansas", "postal_code": "66044", "s_status": "20", "system_state": "Off" } } } I used json2csharp http://json2csharp.com and got these recommended classes: public class __invalid_type__98765 { public string street1 { get;