dictionay疑

//DataContractJsonSerializer ser = new DataContractJsonSerializer(typeof(Dictionary<int, string[]>));
//MemoryStream ms = new MemoryStream(Encoding.UTF8.GetBytes(jsonObject.obj.ToString()));
//DicValueData = (Dictionary<int, string[]>)ser.ReadObject(ms);

  //if(jsonObject.obj is Dictionary<int,string[]>)
                    //{
                    //    DicValueData = jsonObject.obj as Dictionary<int, string[]>;
                    //}
                    //JavaScriptSerializer jss = new JavaScriptSerializer();
                    //DicValueData = jss.Deserialize(jsonObject.obj);

 

posted @ 2014-06-20 14:18  改变你我  阅读(215)  评论(0编辑  收藏  举报