-
-
Save rorymalcolm/258159763763da0505e25e45583cb0b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jq -r '(map(keys) | add | unique) as $cols | map(. as $row | $cols | map($row[.])) as $rows | $cols, $rows[] | @csv' output.json >> output.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment