Code Issues Releases

Releases

v1.0.0 - Initial Release

v1.0.0 · August 26, 2026

main

csv-to-json v1.0.0

Initial release of the CSV-to-JSON converter.

Features

  • Zero-dependency CSV to JSON conversion using only Python standard library
  • Automatic type inference - converts numeric strings to int/float, boolean strings to bool, empty strings to null
  • Nested key expansion - dot-notation CSV headers (e.g. user.name) become nested JSON objects
  • Streaming mode - process large CSV files record-by-record without loading into memory
  • Flexible input - accepts file paths, raw CSV strings, or stdin streams
  • CLI and library usage - use as a command-line tool or import directly into Python code
  • Custom delimiters - supports tabs, pipes, semicolons, or any single character

CLI Quick Start

python src/csv_converter.py data.csv -o output.json
cat data.csv | python src/csv_converter.py - --expand-keys --compact

Requirements

  • Python 3.10+
  • No external packages needed