Remove a JSON property anywhere in the tree


jq 'walk(if type == "object" then del(.required) else . end)' my.schema.json

Tags:  json

Share: