Header-to-property mapping
The first CSV record supplies JSON property names. Each later record supplies values in corresponding column order, producing one JSON record per row. Commas split fields unless a field is quoted according to CSV syntax; doubled double quotes inside a quoted field represent one literal quote. The resulting property-value pairs are placed in the chosen JSON array or object shape.