Given a json object of the form :
{
"version": "3.0.0",
"tags": [
{
"name": "Name1"
},
{
"name": "Name2"
},
{
"name": "Name3"
}
]
}
I want to delete all tags which have their names present in a list (eg : ['Name2', 'Name4']) and output the result in another json file.
Output Example :
{
"version": "3.0.0",
"tags": [
{
"name": "Name1"
},
{
"name": "Name3"
}
]
}