Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
jq to csv
Invoker
Programming language:
Shell/Bash
2021-01-17 12:38:25
61
Q:
jq to csv
konte
Code:
Shell/Bash
2021-01-17 12:41:50
jq -r '(.[0] | keys_unsorted) as $keys | $keys, map([.[ $keys[] ]])[] | @csv'
0
Related
convert csv to json powershell code
New to Communities?
Join the community