10 2011 档案
摘要:C#版 using System.Runtime.Serialization.Json; using System.IO; /// /// C#反序列化JSON /// /// 返回类型 /// JSON字符串 /// public static T JsonDeserialize(string strJson) { DataContractJsonSerializer ser = new DataContractJsonSerializer(typeof(T)); MemoryStream ms = n...
阅读全文
摘要://JS文件////构造函数(function(){ }())//基类function BaseCar(){//基类属性this.color="";this.name="";this.len="";}//基类方法BaseCar.prototype={//取得车的基本参数GetCarParater:function(){alert("基本参数\r\n车名:"+this.name+",颜色:"+this.color+",长度:"+this.len);},//取得车的生产厂家Get
阅读全文


浙公网安备 33010602011771号