src/console/simpleyui.js
function (s,reviver) {
        // Replace certain Unicode characters that are otherwise handled
        // incorrectly by some browser implementations.
        // NOTE: This modifies the input if such characters are found!
        s = s.replace(_UNICODE_EXCEPTIONS, _escapeException);
        
        // Test for any remaining invalid characters
        if (!_UNSAFE.test(s.replace(_ESCAPES,'@').
                            replace(_VALUES,']').
                            replace(_BRACKETS,''))) {

            // Eval the text into a JavaScript data structure, apply any
            // reviver function, and return
            return _revive( _eval('(' + s + ')'), reviver );
        }

        throw new SyntaxError('JSON.parse');
    }
function (s,reviver) {
        // Replace certain Unicode characters that are otherwise handled
        // incorrectly by some browser implementations.
        // NOTE: This modifies the input if such characters are found!
        s = s.replace(_UNICODE_EXCEPTIONS, _escapeException);
        
        // Test for any remaining invalid characters
        if (!_UNSAFE.test(s.replace(_ESCAPES,'@').
                            replace(_VALUES,']').
                            replace(_BRACKETS,''))) {

            // Eval the text into a JavaScript data structure, apply any
            // reviver function, and return
            return _revive( _eval('(' + s + ')'), reviver );
        }

        throw new SyntaxError('JSON.parse');
    }
function ( s , reviver ) { // Replace certain Unicode characters that are otherwise handled // incorrectly by some browser implementations. // NOTE: This modifies the input if such characters are found! s = s . replace ( _UNICODE_EXCEPTIONS , _escapeException ) ; // Test for any remaining invalid characters if ( ! _UNSAFE . test ( s . replace ( _ESCAPES , '@' ) . replace ( _VALUES , ']' ) . replace ( _BRACKETS , '' ) ) ) { // Eval the text into a JavaScript data structure, apply any // reviver function, and return return _revive ( _eval ( '(' + s + ')' ) , reviver ) ; } throw new SyntaxError ( 'JSON.parse' ) ; }
Alias to native browser implementation of the JSON object if available.

@property Native
@type {Object}
@private
Alias to native browser implementation of the JSON object if available .