反序列化json字符串

时间:2010-12-22 06:25:55

标签: c# json deserialization javascriptserializer

{"terms":["text",["video",4823,"videov",378,"vido",168,"videotckupload",156,"virginia",108,"videoconferenc",90,"videovv",90,"viewer",66,"videosit",54,"videosort",54]]}

如何设计一个在反序列化后保存值的类?我正在使用JavaScriptSerializer

1 个答案:

答案 0 :(得分:1)

类似的东西:

class A
{
     public object[] terms {get; set; }
}