Skip to content

Convert a CSV file to an array of json objects for each row in the CSV file using GOlang.

Notifications You must be signed in to change notification settings

zeewell/csv-to-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSV-to-JSON

Code reads in a CSV file and outputs the data into an array of json objects.

Usage

Swap data.csv with the csv of your liking. Next commit will accept command line argument for csv file path, web browser file upload capability and progress.

To run:

    go build
    ./csv-to-json

To see benchmarks on your data file:

    go test -bench=.

The sample data file contains 36,634 records.

About

Convert a CSV file to an array of json objects for each row in the CSV file using GOlang.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages