# CSV to JSON sample

This is a dependency-free Python 3.10+ utility that converts a CSV file with a
unique header row into a JSON array. It preserves quoted fields, escaped
quotes, CRLF/LF input, column order, and string values, while rejecting empty
or duplicate headers, malformed CSV, and rows with the wrong field count.

## Run

```bash
python3 csv_to_json.py sample.csv sample.json
```

## Test

```bash
python3 -m pytest -q
```

The utility reads local files only. It has no accounts, network calls,
credentials, CAPTCHA bypass, production access, or cyber functionality.
