fix(json): Don't escape single-quotes, that's not valid json (#180)

This commit is contained in:
Aria Beingessner 2022-06-24 11:28:01 -04:00 committed by GitHub
parent 714334098a
commit b193d3c002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -30,7 +30,6 @@ impl fmt::Display for Escape<'_> {
let escape = match c {
'\\' => Some(r"\\"),
'"' => Some(r#"\""#),
'\'' => Some(r"\'"),
'\r' => Some(r"\r"),
'\n' => Some(r"\n"),
'\t' => Some(r"\t"),