摘要:
function jsonToString(obj){ var THIS = this; switch(typeof(obj)){ case 'string': return '"' + obj.replace(/(["\\])/g, '\\$1') + '"'; case 'array': return '[' + obj.map(THIS.jsonToString).join(',') + ']'; case 'object& 阅读全文
posted @ 2012-04-05 13:30
李菲菲
阅读(252)
评论(0)
推荐(0)
浙公网安备 33010602011771号