DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
jq to csv
jq -r '(.[0] | keys_unsorted) as $keys | $keys, map([.[ $keys[] ]])[] | @csv'
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#jq
#csv
ADD COMMENT
Topic
COMMENT
Name
2+1 =
Submit