This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
Unescaped " in value produces invalid json when encoded #811
Labels
bug
Something isn't working
no-changelog
Issues whose changes are covered by a PR and thus should not be shown in the changelog
coming here from polars:
reference issue: pola-rs/polars#2548
When encoding any value containing
"
to json will produce invalid json. The"
is not escaped correctly. An example is available here pola-rs/polars#2548 (comment) (It comes from polars which I hope is ok, but if needed I can try making a new one for only the arrow2 part)Some digging lead me here (
"
is an ascii byte)arrow2/src/io/json/write/serialize.rs
Line 141 in 9a8edd0
The text was updated successfully, but these errors were encountered: