Code Issues Releases

Releases

v1.0.0 — Initial Release

v1.0.0 · July 25, 2026

main

First stable release of csv-to-json.

Features

  • Zero-dependency CSV-to-JSON conversion using only Python standard library
  • Automatic type inference — integers, floats, booleans, and nulls are detected from string values
  • Nested key expansion — dot-notation CSV headers (e.g. user.name) are expanded into nested JSON objects
  • Streaming mode — process large CSV files record-by-record without loading everything into memory
  • Flexible input — accepts file paths, raw CSV strings, or stdin
  • CLI and library API — use standalone from the command line or import into Python projects

Usage

python src/csv_converter.py data.csv -o output.json

Or as a library:

from src.csv_converter import csv_to_json
result = csv_to_json("name,age\nAlice,30")

See README for full documentation.