Convert CSV to JSON.
POST/convert/csv/json
Convert CSV to JSON.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
- string
- array
- Array [
- ]
csvstringrequired
The CSV string that will be converted.
noheaderboolean
If this is false, the first line will be interpreted as column names instead of data. Default is false.
delimiter object
The delimiter between the different columns. Can be auto
for automatic detection of delimiters, or an array of delimiters. Default is auto
.
string
Possible values: [auto
]
string
trimboolean
Whether spaces around column values should be trimmed. Default is true.
ignoreEmptyboolean
Whether empty column values should be ignored, instead of being output as empty. Default is false.
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
jsonundefined[]required
An array of JSON objects parsed from the CSV.
{
"json": [
null
]
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}