csvToJson icon indicating copy to clipboard operation
csvToJson copied to clipboard

Uploading CSV file for conversion

Open Pattygeek opened this issue 4 years ago • 2 comments

Please at what point do I upload the csv file bofore the conversion?

Pattygeek avatar Feb 14 '21 16:02 Pattygeek

In my app, the csv file is not local, users upload different csv file and I want to convert the csv to json before sending it to the backend.

Pattygeek avatar Feb 14 '21 16:02 Pattygeek

I'm using the code but it is giving me { "Date,Time,Temperature,ais,ais,ais": "04/13/21,18:26,70.12,0.71,-2.12,11.02" } instead of { "Date": "04/13/21", "Time": "18:26", Temperature":70.12, ..... }

TalalBhatti avatar Apr 28 '21 00:04 TalalBhatti

@iuccio I recommend this just be closed as there are two unrelated issues. One is a fundamental app design issue and not related to the library, the other looks like a problem with having the default using ; (which I feel is an unexpected choice). Both are not bugs and are not enhancement requests.

I don believe the next major version bump should change to comma split by default.

JustinHarshbarger avatar Jan 27 '23 22:01 JustinHarshbarger