shop categories

var shopCategories = [ { "category" : "Clothes", "image" : "R.drawable.ic_baseline_shopping", "stores" : [ {"name" : "Macy's", "url" : "www.macys.com"}, {"name" : "Amazon", "url" : "www.amazon.com"} ] }, { "category" : "Computers", "image" : "R.drawable.ic_baseline_computers", "stores" : [ {"name" : "Best Buy", "url" : "www.bestbuy.com"}, {"name" : "Amazon", "url" : "www.amazon.com"} ] }, { "category" : "Dining", "image" : "R.drawable.ic_baseline_dining", "stores" : [ {"name" : "Papa Johns", "url" : "www.papajohns.com"}, {"name" : "Pizza Hut", "url" : "www.pizzahut.com"} ] }, { "category" : "Ebooks", "image" : "R.drawable.ic_baseline_ebook", "stores" : [ {"name" : "Amazon", "url" : "www.amazon.com"}, {"name" : "eBooks", "url" : "www.eBooks.com"}, {"name" : "Barnes and Nobles", "url" : "www.barnesandnoble.com"} ] }, { "category" : "Movies", "image" : "R.drawable.ic_baseline_movies", "stores" : [ {"name" : "Amazon", "url" : "www.amazon.com/Amazon-Video"}, {"name" : "Disney Plus", "url" : "www.disneyplus.com"}, {"name" : "Netflix", "url" : "www.netflix.com"} ] }, { "category" : "Pets", "image" : "R.drawable.ic_baseline_pets", "stores" : [ {"name" : "Petco", "url" : "www.petco.com"}, {"name" : "Pet Smart", "url" : "www.petsmart.com"} ] }, { "category" : "Travel", "image" : "R.drawable.ic_baseline_travel", "stores" : [ {"name" : "Priceline", "url" : "www.priceline.com"}, {"name" : "Expedia", "url" : "www.expedia.com"} ] }, { "category" : "Games", "image" : "R.drawable.ic_baseline_games", "stores" : [ {"name" : "Google Play Store", "url" : "www.play.google.com/store/games"}, {"name" : "Apple App Store", "url" : "https://apps.apple.com/tt/genre/ios-games/id6014"} ] } ]; var myShopCat = JSON.stringify(shopCategories); document.getElementById("demo").innerHTML = myShopCat;