This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/7965/. Also, please do not modify any references to the original work (if any) contained in this content.
Here is how it work
- Set up CSV columns to object properties mapping. You should specify them using the same separator as in CSV file. It you omit the name, this column will be skipped.
- Paste your CSV contents
- Tweak fields separator if needed. Default is semicolon.
- Decide if you want empty strings replaced with nulls
As a result you will get JSON which can be copied to wherever you need.
If, by some chance, you have an error line - which is when number of fields does not match number of properties, line number and line text will be reported, so you can find and fix it.