摘要:
public static T JSONToObject<T>(string jsonText) { System.Web.Script.Serialization.JavaScriptSerializer jss = new System.Web.Script.Serialization.JavaScriptSerializer(); try { return jss.Deserialize<T>(jsonText); } catch (Exception ex) { throw new Excep... 阅读全文
摘要:
/*json.js2011-08-30Public DomainNo warranty expressed or implied. Use at your own risk.This file has been superceded by http://www.JSON.org/json2.jsSee http://www.JSON.org/js.htmlThis code should be minified before deployment.See http://javascript.crockford.com/jsmin.htmlUSE YOUR OWN COPY. IT IS EXT 阅读全文