Json转换到字典


	/// <summary>
        /// 返回指定JSON转成的字典
        /// </summary>
        /// <param name="json">JSON</param>
        /// <returns>Dictionary`[string, object]</returns>
        public static Dictionary<string, object> SelectDictionary(string json)
        {
            JavaScriptSerializer serializer = new JavaScriptSerializer();
            return serializer.Deserialize<Dictionary<string, object>>(json);
        }

Json转换到字典,布布扣,bubuko.com

Json转换到字典

上一篇:oracle常用函数详解(详细)


下一篇:Web编程学习七:使用JPA + RESTful Web Service + SAPUI5来创建Web应用