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; } 阅读全文