json转字符串
摘要:function json2str(o) { function isArray(o) { return Object.prototype.toString.call(o) === '[object Array]'; } var arr = []; var fmt = function(s) { var type = typeof s; if (type == 'object' && s != null){ return self.json2str(s); } if(type === "number"){ return s; }
阅读全文
posted @ 2012-06-23 11:33
浙公网安备 33010602011771号