Fix string escaping parsing issue

This commit is contained in:
LilyRose2798 2024-03-24 18:57:26 +11:00
parent f049f0f867
commit e4ce45c8fc
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ fn value_parser() -> Parser(Char, JsonValue) {
)
let str =
none_of(["\""])
none_of(["\"", "\\"])
|> alt(escape)
|> many0()
|> map(string.concat)