I have the following JSON that I am trying to parse:
{
    "brands": [
        {
            "_id": "46378Bkjdd",
            "result": {
                "car": {
                    "Name": [
                        "mercedes",
                        "bmw",
                        "golf",
                        "seat"
                    ]
                }
            }
        },
        {
            "_id": "cf876567",
            "result": {
                "car": {
                    "Name": [
                        "renault",
                        "porsh"
                    ]
                }
            }
        }
    ]
}
Need to get the "Name" with : mercredes, bmw, golf, seat, renault, porsh The size could be more thant 2 "_id", this is just for the example.
I tried this but it doesn't work:
for (var i=0; response.brands.length; i++){
   console.log("Names: "+response.brands.result.car.Name[i]);
}
Thanks
 
     
     
    