dev

Convert CSV/TSV text to a JSON array.

Convert CSV/TSV text to a JSON array. POST { csv, delimiter?, header? }. Auto-detects comma vs tab, handles quoted fields and escaped quotes, and coerces numbers/booleans/empty→null. With header=true (default) each row becomes an object keyed by the header row; header=false returns arrays.

post/api/dev/csv-to-json

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/dev/csv-to-json
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Request body

csvstring required

CSV.

delimiterstring

Delimiter.

headerboolean

Header.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.