Code Issues Releases

Releases

v1.0.0 - Initial Release

v1.0.0 · August 27, 2026

main

csv-to-json v1.0.0

A lightweight, zero-dependency CSV-to-JSON converter built for AI agent workflows.

Features

  • Type inference — automatically casts numeric, boolean, and null values
  • Nested key expansion — dot-notation headers (e.g., user.name) become nested JSON objects
  • Streaming support — process large CSV files without loading them entirely into memory
  • Flexible input — accepts file paths, raw CSV strings, or stdin
  • CLI and library usage — use from the command line or import into Python code
  • Custom delimiters — support for tabs, pipes, semicolons, etc.

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("data.csv")

Requires Python 3.10+. No external packages needed.