DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
jq delete variable
Use jq to delete a variable passed in from bash: jq 'del(."'"$myvar"'")' test.json
PREVIOUS
NEXT
Tagged:
#jq
#delete
#variable
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit