摘要: function Serialize(obj) { switch (obj.constructor) { case Object: var str = "{"; for (var o in obj) { str += "\""+o + "\":" + Serialize(obj[o]) + ","; } if (str.substr(str.len... 阅读全文
posted @ 2012-07-24 10:27 AlanCoder 阅读(707) 评论(0) 推荐(0) 编辑
View Code