About this endpoint
What it does
Converts a CSV string into a JSON array of objects, using the first row as the header row and the row values as object fields. The response returns the parsed array in data and the number of items in count.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| csv | String | Yes | The CSV content to convert. |
| delimiter | String | No | The field delimiter to use. Default: ,. |
Response
Returns a JSON object with a data string array of objects and a count integer. The data field contains the converted rows, and count indicates how many objects were produced.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object Array | No | The parsed CSV rows as objects. |
| count | Integer | No | The number of objects in data. |