2010-12-22 211 views
0
{"terms":["text",["video",4823,"videov",378,"vido",168,"videotckupload",156,"virginia",108,"videoconferenc",90,"videovv",90,"viewer",66,"videosit",54,"videosort",54]]} 

如何設計一個可以保存反序列化後的值的類?我使用JavaScriptSerializer反序列化json字符串

+0

可能重複http://stackoverflow.com/questions/945585/c-automatic-property-deserialization-of -json) – Shimmy 2010-12-22 06:45:18

回答

1

喜歡的東西:

class A 
{ 
    public object[] terms {get; set; } 
} 
[JSON的C#自動性能反序列化(的
+0

但是,我如何獲得值視頻,4823,videov ..? – 2010-12-22 06:54:31