title: List of objects in Mustache
body: <p>I am working on rendering HTML from mustache template engine.</p>
  
  <p>I am stuck in rendering when it comes to deal with a list of objects.</p>
  
  <p>Here is my object:</p>
  
  <pre><code>var Prod={
    "Object1": {
      "name": "name1",
      "category": "laptop"
    },
    "Object2": {
      "name": "name2",
      "category": "laptop"
    },
    "Object3": {
      "name": "name3",
      "category": "Desktop"
    },
    "Object4": {
      "name": "name4",
      "category": "Mobile"
    }
  }
  </code></pre>
  
  <p>Here is what I am trying to render from:</p>
  
  <pre><code>var template='{{#Prod}} {{name}} and {{category}} {{/Prod}}'
  
   Mustache.render(template, {"Prod":Prod});
  </code></pre>
  
  <p>But it is not working, and I do not understand why.</p>
  
  <p>Please suggest me where I am wrong.</p>