Keep CSV field values as strings
Example input
name,qty
Alex,2Expected result
[
{
"name": "Alex",
"qty": "2"
}
]Convert the comma-separated table into JSON. The quantity is a string because the CSV import preserves field text rather than guessing a numeric schema. That protects identifiers with leading zeros, but a numeric API field may need an explicit conversion afterward. Review every column's intended type before treating the output as an application contract.