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.
Conversion of the CSV input text to JavaScript objects is handled by code written by me. Conversion of the JavaScript objects to JSON output text is handled by Douglas Crockford’s public domain JSON JavaScript library.
This is awesome! Thank you. I was about to copy and paste some records from a table and format as JSON manually so that I could protype web forms in Ext Designer and the thought of having to do it manually was not pleasant. Sure enough, your page was only a quick Google away
Excellent work!
Yeah, this rules. Thank you!
Thank you for providing this tool!
Very useful. Works also with big datasets. Thank a lot.
Any chance for the code to this be released? Be nice to self host, or port to run via command line rather than web form (e.g. Rhino JS engine or MS JScript for WSH).
Thanks for the suggestion, David. You're not the first person to request something like this. I'm in the process of setting up a GitHub repository for this utility.
If you have any other suggestions, please feel free to let me know!
Code would be good for me to, but totally understand if your looking to corner the market in CSV to JSON conversion
Not at all! I'm an avid support of free/libre/open source software. Besides, the converter makes use of the JSON library written by Douglas Crockford; I feel it would only be fair to "pay it forward" and release the code.
I should have a GitHub repository set up soon.
Thank you so much for this tool. It is extremely helpful and has saved me a LOT of time!
Great stuff, very helpful aid to the development process.
You are the man. Thank you.
Outstanding!
Thanks for this, saved me in a pinch!
wow! This is terrific!