📜  jq 删除变量 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:51.558000             🧑  作者: Mango

代码示例1
Use jq to delete a variable passed in from bash:
jq 'del(."'"$myvar"'")' test.json