Home | History | Annotate | Download | only in base

Lines Matching defs:JSON

1461     JSON,
1534 if (jsEscapingMode == JsEscapingMode.JSON && '\'' == codePoint) {
1535 // JSON does not escape a single quote (and it should be surrounded
1545 if (codePoint >= 0x100 || jsEscapingMode == JsEscapingMode.JSON) {
1571 // If in JSON escaping mode, check JSON *and* JS escaping rules. The JS
1572 // escaping rules will escape more characters than needed for JSON,
1573 // but it is safe to escape any character in JSON.
1574 // TODO(bbavar): Remove unnecessary escaping for JSON, as long as it can be
1576 if (jsEscapingMode == JsEscapingMode.JSON) {
3114 * True iff the given character needs to be escaped in a JSON string literal.
3116 * We need to escape the following characters in JSON string literals.
3123 * See EcmaScript 262 Section 15.12.1 for the full JSON grammar.