日期:2014-05-18 浏览次数:20503 次
 Attempt to parse using the native JSON parser first
                if (window.JSON && window.JSON.parse) {/*用firedebug调式的时候 竟然进入这里了 我根本没有引用那个http://json.org/json2.js文件 这里竟然不显示undefined
ie和chrome则不会进入这里
*/
                    return window.JSON.parse(data);
                }
if (rvalidchars.test(data.replace(rvalidescape, "@")
                            .replace(rvalidtokens, "]")
                            .replace(rvalidbraces, ""))) {
                    return (new Function("return " + data))();
                }