Hi I have a JSON file like followin:
{"a" :[
{
"b": "name_1",
"c":[
{"d": "value_1", "e": "true"},
{"d": "value_2"},
{"d": "value_3", "e": "true"}
]
},
{
"b": "name_2",
"c":[
{"d": "value_4", "e": "true"},
{"d": "value_5"},
{"d": "value_6"}
]}
]
}
I wanted to delete every object in "c" that contains a key "e".
I tried to do is with JQ but I am not able to get the right commands/filters ...
the nearest I have come ... https://jqplay.org/s/fDzVed_Isv