SDN-X / SuperConvert

SuperConvert is a C# library that provides easy and efficient conversion between JSON and various data formats.
https://superconvert.live
MIT License
14 stars 2 forks source link

CSV is not escaped. #28

Open iMoppel opened 9 months ago

iMoppel commented 9 months ago

CSV data is not escaped correctly, a quote character (") should be escaped as a double quote("").

Example: "The "elephant" in the room. " Should be: "The ""elephant"" in the room. "

It should also be un-escaped before import.

esamelzain commented 8 months ago

If you mean from Json to CSV, yes we have an issue there But {"The ""elephant"" in the room. "} is not a valid Json I think it should be {"The \"elephant\" in the room. "} when exporting to CSV will be {The "elephant" in the room. } Please correct me if I am wrong