0

I have JSON file received from API and I need to convert into .csv file and then load into database.

cat sample.json | jsonv id, color, value > sample.csv

Above script does not work for me.

Ashok
  • 41
  • 6
  • 1
    Does this answer your question? [How to convert arbitrary simple JSON to CSV using jq?](https://stackoverflow.com/questions/32960857/how-to-convert-arbitrary-simple-json-to-csv-using-jq) – Shawn May 11 '22 at 07:16

0 Answers0