node-csvtojson icon indicating copy to clipboard operation
node-csvtojson copied to clipboard

Empty CSV or CSV with just Headers creates an invalid JSON

Open JacobWilson01 opened this issue 2 years ago • 0 comments

Converting csv into json and the csv is empty or just headers, it will create the following invalid json file:

]

I would expect valid json:

[]

Using delimiter as auto and downstreamFormat as array

JacobWilson01 avatar Dec 13 '23 21:12 JacobWilson01