摘要: 功能如题,代码如下 var json2str = function(json){ var type = typeof json; if(type === 'number' || type === 'boolean'){ return json; }else if(json === null){ return 'null'; }else if(type === 'string'){ return '"' + json.toString() + '"'; }els... 阅读全文
posted @ 2012-03-04 01:10 realwall 阅读(491) 评论(0) 推荐(0)