title: read json key without knowing the name of the key using javascript
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5113847/accessing-elements-of-json-object-without-knowing-the-key-names">Accessing elements of JSON object without knowing the key names</a>  </p>
  </blockquote>
  
  
  
  <p>I have this below json. Using this i need to iterate over this and push then into an array as key value, trouble is that this json will come at runtime and i won't know the name of the key.</p>
  
  <pre><code>MethodParam : [
          {MaxNumberOfDomains : '10'}, 
          {NextToken : '1'}
  ]
  </code></pre>
  
  <p>please advise</p>
  
  <p>thanks</p>