Variable de suppression de JQ

Use jq to delete a variable passed in from bash:
jq 'del(."'"$myvar"'")' test.json
Troubled Tapir