csvjson Supporting streaming json documents
Created by: jennifersmith
Hi there,
Great set of utilities!
I was just wondering if there would be a problem with supporting 'streaming' json from the csv2json utility.
Similar to https://github.com/onyxfish/csvkit/issues/275 , I would like to emit json without the surrounding array notation, so :
{foo:1}
{foo:2}
{foo:3}
This would mean that for a large csv file, there isn't the necessity to pull it all into memory first.
Ideally this would be done via an optional --stream option that defaults to false.
Happy to work on a PR if that sounds like something csvkit could/should do.