Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 491 Bytes

csv2json.md

File metadata and controls

24 lines (15 loc) · 491 Bytes

Using csv2json

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

example files