I have this JSON Data coming from some URL: I have to parse this JSON Data and Print all the products brand name, MRP and name.
[
{
"name": "Message",
"data": []
},
{
"name": "ProductGrid",
"data": {
"title": "Results for tea",
"count": 244,
"products": [
{
"id": "2313",
"name": "Clear Green Tea Bags",
"full_name": "Lipton Clear Green Tea Bags",
"images": [
"200.png"
],
"brand": {
"id": "18",
"name": "Lipton",
"url": "/lipton-b.php"
},
"category": {
"id": "86",
"name": "Tea Bag",
"url": "tea-bag-c.php",
"food_coupons_allowed": "1",
"image_url": "hea-bag.jpeg",
"parent_category": {
"id": "13",
"name": "Tea & Coffee"
}
},
"properties": [],
"is_new": false,
"
]'
I want to parse this JSON data to an array using JavaScript or Java And I need full_name,brand & MRP of products.
How to do it please help?