<p>How would you reference the models (Accord, CRV, Prius, etc) in this structure? 
Is this a bad structure to be able to extract the makes...then use a make to get the models...then use the model to get the options?</p>

<pre><code>var cars = [
    {
        "makes"   : "Honda",
        "models"   : [
            {'Accord' : ["2dr","4dr"]} ,
            {'CRV'    : ["2dr","Hatchback"]} ,
            {'Pilot'  : ["base","superDuper"] }
        ]
    }, 
    {
        "makes"   : "Toyota",
        "models"  : [
            {'Prius'   : ["green","reallyGreen"]} ,
            {'Camry'   : ["sporty","square"]} ,
            {'Corolla' : ["cheap","superFly"] }
        ]
    }
];              
</code></pre>

<p>Thanks</p>

cars[0].models.Accord
    cars[0].models.CRV
    cars[0].models.Pilot
(See
olliej
's answer)
Though, it may be easier to use the following access concept:
```
```
cars.Honda.Accord
cars.Toyota.Prius
```
```
...using...
```
```
var cars = {
  Honda : {
    Accord : ["2dr", "4dr"],
    CRV    : ["2dr", "Hatchback"],
    Pilot  : ["base", "superDuper"]
  },
  Toyota : {
    Prius : ["green", "reallyGreen"],
    Camry : ["sporty", "square"],
    Corolla : ["cheap", "superFly"]
  }
};
```
```