CSV to JSON
csv_to_jsonConvert CSV data to typed JSON with automatic delimiter detection, header parsing, and value type casting for processing spreadsheet exports.
Instructions
Convert CSV data to typed JSON. Auto-detects delimiters, uses the first row as headers, and casts values to proper types (numbers, booleans, nulls). Use when processing spreadsheet exports or any CSV-formatted data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | The CSV content to convert | |
| delimiter | No | Column delimiter | auto |
| hasHeader | No | Whether the first row contains column names | |
| typeCast | No | Auto-convert values to proper types | |
| limit | No | Max rows to return |