I have been stuck on this for a while. How would I loop over an object with array values. Please, any help with be appreciated. JSON data structures isn't my strong suite
var storeProducts = {"items": [
{
"imgsrc": "https://cdn.shopify.com/s/files/1/0094/2252/products/M997ST_6940.progressive.jpg?v=1497039024",
"productname": "New Balance",
"productlistprice": "$240",
"discounted": "false",
"productprice": "",
},
{
"imgsrc": "https://cdn.shopify.com/s/files/1/0094/2252/products/Peacoat_363758_02_6428.progressive.jpg?v=1496428432",
"productname": "Puma Sneakers",
"productlistprice": "$120",
"discounted": "false",
"productprice": "",
},
{
"imgsrc": "https://cdn.shopify.com/s/files/1/0094/2252/products/Titan_Weave_WhiteBlueEstate_50117182901_C6501_5945-78.progressive.jpg?v=1494616290",
"productname": "Diadora",
"productlistprice": "$100",
"discounted": "true",
"productprice": "190",
},
]};