Because CSV is still a thing in the year 20xx
Clone this repository, then deploy to your Salesforce org with sfdx
.
sfdx force:source:convert -r force-app -d src
sfdx force:mdapi:deploy -d src -w 5
Then use the static CsvReader.readIETFRFC4180CSVFile
function to
process a CSV Blob
and return something Apex-friendly.
- RFC 4180 - Common Format and MIME Type for Comma-Separated Values (CSV) Files