-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
This is a duplicate of unsolved #12.
When running this code:
const csvjson = require('csvjson');
const options = {
delimiter: ',',
quote: true
};
const data = `one,two
"some data", "some ""other"" data"`;
const obj = csvjson.toObject(data, options);
console.log(obj);the output is:
[ { one: 'some data', two: 'data' } ]
and should be:
[ { one: 'some data', two: 'some "other" data' } ]
This also occurs with the quote option set to '"'.
Harshil-Modi
Metadata
Metadata
Assignees
Labels
No labels