jq Delete Property Link to heading
Unfortunately jq
does not support this, so you need to work around it.
# using jq you have to rewrite file:
echo "$(jq 'del(.property)' data.json)" > data.json
# or using a tmp file:
jq 'del(.property)' data.json > tmp.json
mv tmp.json data.json
# using yq with -i flag:
yq -i 'del(.property)' data.json
yq is a good
jq
alternative which does support this