JQ Usuń zmienną

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