data_csv_to_json
Convert a CSV file or CSV string to a JSON array. Optionally treat first line as column names or specify a custom delimiter.
Instructions
Convert a CSV file or CSV string data to a JSON array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| columns | No | If true, treats the first line as column names and outputs an array of objects. Otherwise outputs an array of arrays. Defaults to true. | |
| csvData | No | Raw CSV string data to parse. | |
| filePath | No | Local filesystem path to the CSV file. | |
| delimiter | No | The field delimiter character. Defaults to ','. | , |