亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? json.js

?? 很棒的在線教學(xué)系統(tǒng)
?? JS
字號(hào):
/*Copyright (c) 2008, Yahoo! Inc. All rights reserved.Code licensed under the BSD License:http://developer.yahoo.net/yui/license.txtversion: 2.6.0*//** * Provides methods to parse JSON strings and convert objects to JSON strings. * @module json * @class JSON * @static */YAHOO.lang.JSON = (function () {var l = YAHOO.lang,    /**     * Replace certain Unicode characters that JavaScript may handle incorrectly     * during eval--either by deleting them or treating them as line     * endings--with escape sequences.     * IMPORTANT NOTE: This regex will be used to modify the input if a match is     * found.     * @property _UNICODE_EXCEPTIONS     * @type {RegExp}     * @private     */    _UNICODE_EXCEPTIONS = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,    /**     * First step in the validation.  Regex used to replace all escape     * sequences (i.e. "\\", etc) with '@' characters (a non-JSON character).     * @property _ESCAPES     * @type {RegExp}     * @static     * @private     */    _ESCAPES = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,    /**     * Second step in the validation.  Regex used to replace all simple     * values with ']' characters.     * @property _VALUES     * @type {RegExp}     * @static     * @private     */    _VALUES  = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,    /**     * Third step in the validation.  Regex used to remove all open square     * brackets following a colon, comma, or at the beginning of the string.     * @property _BRACKETS     * @type {RegExp}     * @static     * @private     */    _BRACKETS = /(?:^|:|,)(?:\s*\[)+/g,    /**     * Final step in the validation.  Regex used to test the string left after     * all previous replacements for invalid characters.     * @property _INVALID     * @type {RegExp}     * @static     * @private     */    _INVALID  = /^[\],:{}\s]*$/,    /**     * Regex used to replace special characters in strings for JSON     * stringification.     * @property _SPECIAL_CHARS     * @type {RegExp}     * @static     * @private     */    _SPECIAL_CHARS = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,    /**     * Character substitution map for common escapes and special characters.     * @property _CHARS     * @type {Object}     * @static     * @private     */    _CHARS = {        '\b': '\\b',        '\t': '\\t',        '\n': '\\n',        '\f': '\\f',        '\r': '\\r',        '"' : '\\"',        '\\': '\\\\'    };/** * Traverses nested objects, applying a filter or reviver function to * each value.  The value returned from the function will replace the * original value in the key:value pair.  If the value returned is * undefined, the key will be omitted from the returned object. * @method _revive * @param data {MIXED} Any JavaScript data * @param reviver {Function} filter or mutation function * @return {MIXED} The results of the filtered/mutated data structure * @private */function _revive(data, reviver) {    var walk = function (o,key) {        var k,v,value = o[key];        if (value && typeof value === 'object') {            for (k in value) {                if (l.hasOwnProperty(value,k)) {                    v = walk(value, k);                    if (v === undefined) {                        delete value[k];                    } else {                        value[k] = v;                    }                }            }        }        return reviver.call(o,key,value);    };    return typeof reviver === 'function' ? walk({'':data},'') : data;}/** * Escapes a special character to a safe Unicode representation * @method _char * @param c {String} single character to escape * @return {String} safe Unicode escape */function _char(c) {    if (!_CHARS[c]) {        _CHARS[c] =  '\\u'+('0000'+(+(c.charCodeAt(0))).toString(16)).slice(-4);    }    return _CHARS[c];}/** * Replace certain Unicode characters that may be handled incorrectly by * some browser implementations. * @method _prepare * @param s {String} parse input * @return {String} sanitized JSON string ready to be validated/parsed * @private */function _prepare(s) {    return s.replace(_UNICODE_EXCEPTIONS, _char);}/** * Four step determination whether a string is valid JSON.  In three steps, * escape sequences, safe values, and properly placed open square brackets * are replaced with placeholders or removed.  Then in the final step, the * result of all these replacements is checked for invalid characters. * @method _isValid * @param str {String} JSON string to be tested * @return {boolean} is the string safe for eval? * @static */function _isValid(str) {    return l.isString(str) &&            _INVALID.test(str.            replace(_ESCAPES,'@').            replace(_VALUES,']').            replace(_BRACKETS,''));}/** * Enclose escaped strings in quotes * @method _string * @param s {String} string to wrap * @return {String} '"'+s+'"' after s has had special characters escaped * @private */function _string(s) {    return '"' + s.replace(_SPECIAL_CHARS, _char) + '"';}/** * Worker function used by public stringify. * @method _stringify * @param h {Object} object holding the key * @param key {String} String key in object h to serialize * @param depth {Number} depth to serialize * @param w {Array|Function} array of whitelisted keys OR replacer function * @param pstack {Array} used to protect against recursion * @return {String} serialized version of o */function _stringify(h,key,d,w,pstack) {    var o = typeof w === 'function' ? w.call(h,key,h[key]) : h[key],        i,len,j, // array iteration        k,v,     // object iteration        isArray, // forking in typeof 'object'        a;       // composition array for performance over string concat    if (o instanceof Date) {        o = l.JSON.dateToString(o);    } else if (o instanceof String || o instanceof Boolean || o instanceof Number) {        o = o.valueOf();    }    switch (typeof o) {        case 'string' : return _string(o);        case 'number' : return isFinite(o) ? String(o) : 'null';        case 'boolean': return String(o);        case 'object' :            // null            if (o === null) {                return 'null';            }            // Check for cyclical references            for (i = pstack.length - 1; i >= 0; --i) {                if (pstack[i] === o) {                    return 'null';                }            }            // Add the object to the processing stack            pstack[pstack.length] = o;            a = [];            isArray = l.isArray(o);            // Only recurse if we're above depth config            if (d > 0) {                // Array                if (isArray) {                    for (i = o.length - 1; i >= 0; --i) {                        a[i] = _stringify(o,i,d-1,w,pstack) || 'null';                    }                // Object                } else {                    j = 0;                    // Use whitelist keys if provided as an array                    if (l.isArray(w)) {                        for (i = 0, len = w.length; i < len; ++i) {                            k = w[i];                            v = _stringify(o,k,d-1,w,pstack);                            if (v) {                                a[j++] = _string(k) + ':' + v;                            }                        }                    } else {                        for (k in o) {                            if (typeof k === 'string' && l.hasOwnProperty(o,k)) {                                v = _stringify(o,k,d-1,w,pstack);                                if (v) {                                    a[j++] = _string(k) + ':' + v;                                }                            }                        }                    }                    // sort object keys for easier readability                    a.sort();                }            }            // remove the object from the stack            pstack.pop();            return isArray ? '['+a.join(',')+']' : '{'+a.join(',')+'}';    }    return undefined; // invalid input}// Return the public APIreturn {    /**     * Four step determination whether a string is valid JSON.  In three steps,     * escape sequences, safe values, and properly placed open square brackets     * are replaced with placeholders or removed.  Then in the final step, the     * result of all these replacements is checked for invalid characters.     * @method isValid     * @param str {String} JSON string to be tested     * @return {boolean} is the string safe for eval?     * @static     */    isValid : function (s) {        return _isValid(_prepare(s));    },    /**     * Parse a JSON string, returning the native JavaScript representation.     * Only minor modifications from http://www.json.org/json2.js.     * @param s {string} JSON string data     * @param reviver {function} (optional) function(k,v) passed each key:value     *          pair of object literals, allowing pruning or altering values     * @return {MIXED} the native JavaScript representation of the JSON string     * @throws SyntaxError     * @method parse     * @static     */    parse : function (s,reviver) {        // sanitize        s = _prepare(s);        // Ensure valid JSON        if (_isValid(s)) {            // Eval the text into a JavaScript data structure, apply the            // reviver function if provided, and return            return _revive( eval('(' + s + ')'), reviver );        }        // The text is not valid JSON        throw new SyntaxError('parseJSON');    },    /**     * Converts an arbitrary value to a JSON string representation.     * Cyclical object or array references are replaced with null.     * If a whitelist is provided, only matching object keys will be included.     * If a depth limit is provided, objects and arrays at that depth will     * be stringified as empty.     * @method stringify     * @param o {MIXED} any arbitrary object to convert to JSON string     * @param w {Array|Function} (optional) whitelist of acceptable object keys to include OR a function(value,key) to alter values before serialization     * @param d {number} (optional) depth limit to recurse objects/arrays (practical minimum 1)     * @return {string} JSON string representation of the input     * @static     */    stringify : function (o,w,d) {        if (o !== undefined) {            // Ensure whitelist keys are unique (bug 2110391)            if (l.isArray(w)) {                w = (function (a) {                    var uniq=[],map={},v,i,j,len;                    for (i=0,j=0,len=a.length; i<len; ++i) {                        v = a[i];                        if (typeof v === 'string' && map[v] === undefined) {                            uniq[(map[v] = j++)] = v;                        }                    }                    return uniq;                })(w);            }            // Default depth to POSITIVE_INFINITY            d = d >= 0 ? d : 1/0;            // process the input            return _stringify({'':o},'',d,w,[]);        }        return undefined;    },    /**     * Serializes a Date instance as a UTC date string.  Used internally by     * stringify.  Override this method if you need Dates serialized in a     * different format.     * @method dateToString     * @param d {Date} The Date to serialize     * @return {String} stringified Date in UTC format YYYY-MM-DDTHH:mm:SSZ     * @static     */    dateToString : function (d) {        function _zeroPad(v) {            return v < 10 ? '0' + v : v;        }        return d.getUTCFullYear()         + '-' +            _zeroPad(d.getUTCMonth() + 1) + '-' +            _zeroPad(d.getUTCDate())      + 'T' +            _zeroPad(d.getUTCHours())     + ':' +            _zeroPad(d.getUTCMinutes())   + ':' +            _zeroPad(d.getUTCSeconds())   + 'Z';    },    /**     * Reconstitute Date instances from the default JSON UTC serialization.     * Reference this from a reviver function to rebuild Dates during the     * parse operation.     * @method stringToDate     * @param str {String} String serialization of a Date     * @return {Date}     */    stringToDate : function (str) {        if (/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})Z$/.test(str)) {            var d = new Date();            d.setUTCFullYear(RegExp.$1, (RegExp.$2|0)-1, RegExp.$3);            d.setUTCHours(RegExp.$4, RegExp.$5, RegExp.$6);            return d;        }        return str;    }};})();YAHOO.register("json", YAHOO.lang.JSON, {version: "2.6.0", build: "1321"});

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产日韩欧美精品一区| 不卡的av在线| 亚洲午夜久久久久久久久电影院| 久久久久久免费网| 欧美成人女星排名| 欧美成人伊人久久综合网| 日韩一区二区三区四区| 日韩欧美一区中文| 欧美videossexotv100| 日韩亚洲欧美一区| 26uuu精品一区二区三区四区在线| 欧美tk—视频vk| 国产午夜亚洲精品羞羞网站| 中文乱码免费一区二区| 国产精品女主播av| 亚洲精品成a人| 天天操天天色综合| 美女免费视频一区| 国产91在线|亚洲| 91理论电影在线观看| 欧美色网一区二区| 精品人在线二区三区| 国产精品青草久久| 亚洲成av人片在线| 国内精品视频666| 97精品电影院| 91精品国产综合久久福利软件| 日韩欧美不卡一区| 国产精品久久久久9999吃药| 亚洲精品精品亚洲| 青青草成人在线观看| 91麻豆国产福利精品| 欧美日韩国产免费一区二区| 精品国产露脸精彩对白| 亚洲精品成人精品456| 麻豆久久久久久| voyeur盗摄精品| 欧美久久久久久久久| 国产精品麻豆网站| 日本亚洲欧美天堂免费| 成人黄色国产精品网站大全在线免费观看| 在线日韩国产精品| 2023国产精品| 日日夜夜精品视频天天综合网| 国产高清不卡一区二区| 欧美日韩视频不卡| 国产精品热久久久久夜色精品三区| 午夜精品福利一区二区蜜股av| 国产成人在线免费观看| 在线成人免费观看| 亚洲精品自拍动漫在线| 国产丶欧美丶日本不卡视频| 在线播放欧美女士性生活| 成人欧美一区二区三区白人 | 亚洲一区二区三区精品在线| 国产一区二区中文字幕| 欧美精三区欧美精三区 | 欧美亚洲国产怡红院影院| 久久综合给合久久狠狠狠97色69| 午夜精品久久久久久久久| 成人97人人超碰人人99| 久久久久久久久久看片| 日产国产欧美视频一区精品| 欧美午夜精品一区| 亚洲美女电影在线| 99久久精品情趣| 国产精品免费aⅴ片在线观看| 九九九久久久精品| 日韩精品一区二区三区在线观看| 亚洲午夜激情网站| 欧美三级韩国三级日本三斤| 亚洲精品国产无套在线观| 99re这里只有精品6| 最新国产精品久久精品| 91影院在线观看| 综合自拍亚洲综合图不卡区| 成人免费视频一区二区| 国产偷国产偷亚洲高清人白洁| 国内精品国产成人国产三级粉色| 日韩亚洲欧美在线观看| 韩国精品主播一区二区在线观看| 日韩三级免费观看| 国产一区二区三区四| 精品乱码亚洲一区二区不卡| 麻豆一区二区在线| 国产午夜精品理论片a级大结局| 韩国成人精品a∨在线观看| wwwwxxxxx欧美| 风间由美一区二区三区在线观看| 国产三区在线成人av| 99久久精品国产一区二区三区| 亚洲欧美日韩中文播放| 欧美在线观看一二区| 亚洲v日本v欧美v久久精品| 欧美精品久久99久久在免费线| 日韩av一级片| 久久久久亚洲蜜桃| 91在线国内视频| 天天射综合影视| 国产色婷婷亚洲99精品小说| 97久久人人超碰| 日韩电影一二三区| 久久久久久免费毛片精品| 91原创在线视频| 麻豆精品一区二区av白丝在线| 久久色.com| 色呦呦日韩精品| 久久精品国产一区二区| 国产精品视频麻豆| 91精品在线观看入口| 国产精品一二三四五| 亚洲精品日韩专区silk| 日韩欧美一区二区免费| 成人精品一区二区三区四区 | 亚洲乱码中文字幕| 欧美一区二区免费视频| 不卡大黄网站免费看| 天天综合网 天天综合色| 中文字幕巨乱亚洲| 欧美性生活影院| 国产成人av福利| 日韩高清在线观看| |精品福利一区二区三区| 日韩美女在线视频 | 欧美美女黄视频| 国产成人精品亚洲午夜麻豆| 一区二区三区不卡视频在线观看| 欧美一级生活片| 在线亚洲免费视频| 国产精品18久久久久久vr| 亚洲一区二区偷拍精品| 中文字幕免费在线观看视频一区| 日韩女优毛片在线| 欧美揉bbbbb揉bbbbb| caoporn国产精品| 国产麻豆午夜三级精品| 日韩国产欧美三级| 艳妇臀荡乳欲伦亚洲一区| 亚洲国产高清不卡| 欧美一区二区啪啪| 777午夜精品视频在线播放| 色婷婷av一区二区三区软件 | 久久久91精品国产一区二区精品 | 欧美精品免费视频| 欧美视频第二页| 欧美午夜精品久久久| 91黄视频在线观看| a4yy欧美一区二区三区| 丁香六月综合激情| 成人免费看视频| 国产成人午夜片在线观看高清观看| 蜜桃视频在线观看一区| 人人超碰91尤物精品国产| 亚洲成人免费观看| 亚洲成人动漫一区| 午夜婷婷国产麻豆精品| 亚洲自拍偷拍麻豆| 亚洲国产精品一区二区www | 久久日韩精品一区二区五区| 精品久久久久久最新网址| 日韩三级精品电影久久久| 精品久久一区二区三区| 欧美电影免费观看高清完整版 | 99久久精品国产精品久久| 成人av在线影院| 色老汉一区二区三区| 欧美在线小视频| 日韩欧美国产综合| 精品国一区二区三区| 久久精品亚洲精品国产欧美| 中文字幕第一区| 一区二区三区蜜桃网| 日韩综合小视频| 国产一区二区三区| 99精品久久只有精品| 欧洲激情一区二区| 欧美一级欧美一级在线播放| 精品福利一二区| 中文字幕一区免费在线观看| 亚洲国产精品一区二区久久| 激情小说亚洲一区| 91丝袜呻吟高潮美腿白嫩在线观看| 欧美性生交片4| 国产日产精品1区| 亚洲国产日韩a在线播放| 久久99在线观看| 色综合久久久久综合体| 日韩小视频在线观看专区| 国产精品美女www爽爽爽| 亚洲高清三级视频| 国产成人啪午夜精品网站男同| 色先锋久久av资源部| 亚洲男人都懂的| 奇米影视在线99精品| 99vv1com这只有精品| 精品sm捆绑视频| 亚洲一区免费在线观看| 风间由美一区二区av101| 欧美一区二区三区视频| 亚洲免费观看高清|