Fix string escaping parsing issue
This commit is contained in:
parent
f049f0f867
commit
e4ce45c8fc
|
@ -90,7 +90,7 @@ fn value_parser() -> Parser(Char, JsonValue) {
|
||||||
)
|
)
|
||||||
|
|
||||||
let str =
|
let str =
|
||||||
none_of(["\""])
|
none_of(["\"", "\\"])
|
||||||
|> alt(escape)
|
|> alt(escape)
|
||||||
|> many0()
|
|> many0()
|
||||||
|> map(string.concat)
|
|> map(string.concat)
|
||||||
|
|
Loading…
Reference in New Issue