title: How to read nested json object?
body: <p>I have created an object like this.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>myObj =  {
     "name":"John",
     "age":30,
     "cars": [
      "car1":"Ford",
      "car2":"BMW",
      "car3":"Fiat"
     ]
     }</code></pre>
  </div>
  </div>
  </p>
  
  <p>I can easily read name and age but I want to read the content (key values) under object "cars". I want to put key values in the drop-down so that if select any key from cars then I will get respective values.
  Thank you!</p>