summaryrefslogtreecommitdiff
path: root/grammars/json.gbnf
diff options
context:
space:
mode:
Diffstat (limited to 'grammars/json.gbnf')
-rw-r--r--grammars/json.gbnf2
1 files changed, 1 insertions, 1 deletions
diff --git a/grammars/json.gbnf b/grammars/json.gbnf
index a9537cdf..a8a80752 100644
--- a/grammars/json.gbnf
+++ b/grammars/json.gbnf
@@ -15,7 +15,7 @@ array ::=
string ::=
"\"" (
- [^"\\] |
+ [^"\\\x7F\x00-\x1F] |
"\\" (["\\/bfnrt] | "u" [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F]) # escapes
)* "\"" ws