Search
 
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
Name
2+1 =