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.
Conversion of the CSV input text to JavaScript objects is handled by code written by Christopher Parker. Conversion of the JavaScript objects to JSON output text is handled by Douglas Crockford’s public domain JSON JavaScript library.
This repository includes Douglas Crockford's JSON JavaScript library as a Git submodule. When cloning this repository, you must issue all of the following commands to pull in the JSON library, too:
$ git clone http://github.com/cparker15/csv-to-json.git
$ cd csv-to-json
$ git submodule init
$ git submodule update