3 ms·
Technically, all the file processing can happen client-side now, thanks to the HTMl5 file API. Users' data doesn't have to leave the browser. [shameless plug]
by me_bx 11y ago
Technically, all the file processing can happen client-side now, thanks to the HTMl5 file API. Users' data doesn't have to leave the browser.
[shameless plug] This is the approach I have taken creating a similar converter (which also works offline):
http://mango-is.com/tools/csv-to-json/ http://mango-is.com/tools/csv-to-json/
- martin_drapeau 11y agoYes, that is a good idea. However I chose to upload it in order to allow sharing the conversion via a unique generated URL.
- plugnburn 11y agoWhy not use location.hash and URL shortener? That way no upload is needed.
- userbinator 11y agoWhat's the maximum length of a URL? Hint: a lot smaller than almost all the CSV files I've had to deal with. To the grandparent: you might want to make it more explicit that you're actually retaining the uploaded data and not just using it to generate the result page.