3 Comments
User's avatar
Maurice Hickey's avatar

Great article! Might I suggest though that duckdb (duckdb.org) or Miller (https://miller.readthedocs.io/en/6.13.0/). are much easier!

duckdb -c "copy (select * from read_csv_auto('./test.csv')) to './test.json'"

mlr --ojson --icsv cat test.csv

PS 20 years COBOL experience!

Expand full comment
Scott Edwards's avatar

Thanks for the pointer to Miller - looks handy!

Expand full comment
High Performance DE Newsletter's avatar

U finally got the courage to dust off the ole COBOL I see 😂

Expand full comment