As titled.
i have the following mapping in the json object:
obj[“text”] = “\”some text\nanother text\””
now, if i do obj.dump(), it will double escape -> “\\\”some text\\nanother text\\\”” due to the default escaping.
i wonder if anyone else has run into this issue and how you resolve it. Thanks!
(As a side not, i would like to see an update to include an optional bool param to turn off the default escape option for .dump().)
As titled.
i have the following mapping in the json object:
obj[“text”] = “\”some text\nanother text\””
now, if i do obj.dump(), it will double escape -> “\\\”some text\\nanother text\\\”” due to the default escaping.
i wonder if anyone else has run into this issue and how you resolve it. Thanks!
(As a side not, i would like to see an update to include an optional bool param to turn off the default escape option for .dump().)