首页 > 代码库 > dictionay疑

dictionay疑

//DataContractJsonSerializer ser = new DataContractJsonSerializer(typeof(Dictionary<int, string[]>));//MemoryStream ms = new MemoryStream(Encoding.UTF8.GetBytes(jsonObject.obj.ToString()));//DicValueData = http://www.mamicode.com/(Dictionary)ser.ReadObject(ms);>//if(jsonObject.obj is Dictionary<int,string[]>)                    //{                    //    DicValueData = http://www.mamicode.com/jsonObject.obj as Dictionary;>//}                    //JavaScriptSerializer jss = new JavaScriptSerializer();                    //DicValueData = http://www.mamicode.com/jss.Deserialize(jsonObject.obj);