Added 'CSV to JSON' and 'JSON to CSV' operations. Closes #277

This commit is contained in:
n1474335 2018-11-09 17:40:19 +00:00
parent 42b956e402
commit 863bdffa84
5 changed files with 160 additions and 2 deletions

View file

@ -573,6 +573,10 @@ class Utils {
cell = "";
lines.push(line);
line = [];
// Skip next byte if it is also a line delim (e.g. \r\n)
if (lineDelims.indexOf(next) >= 0 && next !== b) {
i++;
}
} else {
cell += b;
}