Closed tvvignesh closed 4 years ago
Could you try -i ./test.json
Hi @tvvignesh ,
Thanks for reporting. That was an embarrassingly silly bug.
One thing that it proves is that not many people is using the --no-streaming
flag I guess.
Fix released in version 5.0.2
Hi.
json2csv
works great. Noticed a bug though.If you try to convert with
--no-streaming
or-s
flag on, it throws an error:Without that flag, the command works great.
This works:
json2csv -i test.json --flatten-arrays --flatten-objects
This does not work:
json2csv -i test.json --flatten-arrays --flatten-objects -s
And this is the json I am using:
Thanks.