CSV to JSON
This converter is written entirely in JavaScript and runs completely in the browser. Once the page finishes loading, there are no subsequent calls to the server. Because of this, there’s no risk of data breach. Other converters written in server-side languages, which usually submit input and output text using plain HTTP instead of HTTPS, transmitting your data in the clear as plain, unencrypted text, expose you and your data to unnecessary risk. While these server-side converters are good exercises in programming, and may be useful in a trusted intranet setting, they should not be used if they are hosted by untrusted third parties on the unsecured Web.
Note
This converter is a UI -- a shell -- that wraps two external, independent libraries:
- Christopher Parker's CSV JavaScript library
- Douglas Crockford’s public domain JSON JavaScript library
Please only file bug reports or feature requests pertaining to the converter itself (the user interface) on this repo's issue tracker.
If you have something to report regarding the functionality of the CSV parser itself, please use the CSV-js repo's issue tracker.
Building
Prerequisites:
After cloning this repo, here's how to build:
$ npm install
$ grunt
This will download and build all dependencies, then lint and minify the converter's code and all of its dependencies.
The final distributable converter resides at dist/index.html
.