string json = @" {""data"":[{""Name"":""Yaj"",""Number"":""null"",""Name"":""null"",""PhotoUrl"":""http://worldforme.com/rfr/fr"",""date"":""1994-06-14 00:00:00.000"",""ID"":""178"",""ssid"":""1"",""InOut"":""Incoming"",""Intime"":""null"",""OutTime"":""null"",""Por"":""null""}]}";
var dt = JsonConvert.DeserializeObject<mainlist>(json);
但是dt返回null!我需要反序列化JSON字符串
請幫
你可以發佈你的'mainlist'類嗎? – Asnivor