Closed mikhalev-im closed 3 years ago
Version of json2csv: 5.0.5 Node version: 12.19.1
json2csv
Code:
const { Parser } = require('json2csv'); const parser = new Parser({ header: false, delimiter: ';', excelStrings: true, }); const data = { field1: 'string', field2: '"quoted"' }; parser.parse(data); // result: "=""string""";"=""""quote"""""
If you write the result to a file and open it in excel, there would be an error in a quoted value:
The tooltip is saying that the formula has an error.
Guys, thank you for your work! Do you know when this fix will be released on npm?
Should be released as json2csv@5.0.6
Version of
json2csv
: 5.0.5 Node version: 12.19.1Code:
If you write the result to a file and open it in excel, there would be an error in a quoted value:
The tooltip is saying that the formula has an error.