Code Issues Releases

Releases

v1.0.0 — Initial Release

v1.0.0 · August 30, 2026

main

csv-to-json v1.0.0

A lightweight, zero-dependency CSV-to-JSON converter for AI agents and developer workflows.

Highlights

  • Type inference: Automatically converts CSV values to appropriate JSON types (int, float, bool, null)
  • Nested key expansion: Dot-notation headers like user.name become nested JSON objects
  • Streaming support: Process large CSV files record-by-record without loading everything into memory
  • Flexible input: Accepts file paths, raw CSV strings, or stdin
  • CLI + library: Use from the command line or import directly into Python code
  • Zero dependencies: Uses only Python 3.10+ standard library

Quick Start

python src/csv_converter.py data.csv -o output.json
from src.csv_converter import csv_to_json
result = csv_to_json("data.csv")