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 '"'.
This is a duplicate of unsolved #12.
When running this code:
the output is:
and should be:
This also occurs with the
quoteoption set to'"'.