csvToJson
csvToJson copied to clipboard
[BUG] Error on parsing line breaks within quoted fields
Expected Behavior
Interpret and convert line breaks in quoted fields correctly.
Actual Behavior
Unable to convert/parse CSV correctly. Error thrown:
/app/node_modules/convert-csv-to-json/src/csvToJson.js:215 throw new Error('Row contains mismatched quotes!');
Steps to Reproduce the Problem
- Create a CSV adding line breaks within a quoted field
- use option
.supportQuotedField(true)
Specifications
- Version: 2.0.0