title: Mustache.js: Iterate over a list received via json
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/11819006/mustache-js-template-with-json-collection">Mustache JS Template with JSON Collection</a>  </p>
  </blockquote>
  
  
  
  <p>I have a json response like this that I want to use with Mustache.js:</p>
  
  <pre><code>[
      {"id": "1", "details": {"name": "X", "type":"Y" }},
      {"id": "2", "details": {"name": "aName", "type":"something" }}
  ]
  </code></pre>
  
  <p>How do I iterate over this using mustache.js?</p>