语言
/v1/csv/to-json
解析 CSV 文本并返回 JSON 对象数组。 启用标题时(默认),第一行用作对象键。 处理带引号的字段、转义逗号和多行值。
The CSV content to convert.
Treat the first row as column headers.
curl -X POST https://api.botoi.com/v1/csv/to-json \ -H "Content-Type: application/json" \ -d '{"csv":"name,email,plan\nAlice,alice@example.com,pro\nBob,bob@example.com,free","has_header":true}'
让用户上传从 Google Sheets 或 Excel 导出的 CSV 文件,并将其转换为 JSON 以用于数据库插入。
将服务器访问日志或分析导出从 CSV 转换为 JSON,以便使用基于 JavaScript 的工具进行处理。
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.