Convert data1.csv to data1.json using command line options and Unix pipes. The result will be an array of JSON objects.
csv2json -i data1.csv -o data1.json
cat data1.csv | csv2json > data1.json
Convert data1.csv to JSON blobs, one line per blob.
csv2json -as-blobs -i data1.csv
cat data1.csv | csv2json -as-blobs