Home | History | Annotate | Download | only in resources

Lines Matching refs:replace

68             a replacer function to replace those with JSON values.
154 lastIndex, length, parse, prototype, push, replace, slice, stringify,
204 // Otherwise we must also replace the offending characters with safe escape
209 '"' + string.replace(escapable, function (a) {
356 // that can replace values, or an array of strings that will select the keys.
428 // Parsing happens in four stages. In the first stage, we replace certain
434 text = text.replace(cx, function (a) {
447 // replace the JSON backslash pairs with '@' (a non-JSON character). Second, we
448 // replace all simple value tokens with ']' characters. Third, we delete all
454 test(text.replace
455 replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']').
456 replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {