gocarina / gocsv

The GoCSV package aims to provide easy CSV serialization and deserialization to the golang programming language
MIT License
1.98k stars 244 forks source link

Marshal does not handle strings with quotes correctly #147

Open Woody1193 opened 4 years ago

Woody1193 commented 4 years ago

I setup a simple struct that has a variable called Description on it and assigned to it a value of [\"100.0% Tier 1 Discount\"]. However, the value I got back after calling Marshal was \"[\"\"100.0% Tier 1 Discount\"\"]\".

fananchong commented 4 years ago

see : https://github.com/gocarina/gocsv/issues/177