Skip to content

[BUG] Error on parsing line breaks within quoted fields #37

@zitrusblau

Description

@zitrusblau

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

  1. Create a CSV adding line breaks within a quoted field
  2. use option .supportQuotedField(true)

Specifications

  • Version: 2.0.0

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions