i am facing the problem which is to parse specific data from list. I have a list sth like :
response_list = [{
"Name": "Brand",
"Value": "Smart Planet",
"Source": "ItemSpecific"
},
{
"Name": "Color",
"Value": "Yellow",
"Source": "ItemSpecific"
},
{
"Name": "Type",
"Value": "Sandwich Maker",
"Source": "ItemSpecific"
},
{
"Name": "Power Source",
"Value": "Electrical",
"Source": "ItemSpecific"
}]
From the list I should get the Brand name. Every time it will come in different position.How can i get it using list comprehension.Output will be like :
new_list =[{'Brand':'Smart Planet'}]