Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

format file using jq

echo '{"menu": { "id": "file", "value": "File", "popup": { "menuitem": [ {"value": "New", "onclick": "CreateNewDoc()"}, {"value": "Open", "onclick": "OpenDoc()"} ] } } }' | jq '.'
Source by www.linode.com #
 
PREVIOUS NEXT
Tagged: #format #file #jq
ADD COMMENT
Topic
Name
3+9 =