I'm having a file that is deeply nested and wondering how I can access the values for Product (details, color, size, material).
{
"article": [
{
"product":{
"details": {
"color": "blue",
"size": "small",
"material": "cotton"
}
},
"availability": "in stock",
"sku": "2317",
"cost": "$23"
},
{
"product":{
"details": {
"color": "red",
"size": "large",
"material": "plastic"
}
},
"availability": "no stock",
"sku": "4342",
"cost": "$44"
}
],
"IDs":[
{
"name": "Manager",
"batchID": 3312312
}
]
}
My goal is to iterate over the values for each product
using python.
Thank you in advance