Json – jq: modify string values based on values of keys in parents
I have a JSON structure like this: { "misc": { "color": "blue", "id": "yyyy-12345", "birthdate": "2020-12-25", "tools": [ { "type": "power", "name": "hammer" }, { "type": "manual", "name": "grinder" } ] }, "people": [ { "name": "bob", "profession": "analyst", "clients":…