title: getting the value of an array of object in handlebar
body: <p>I'm working with expressJS and handlebar as an engine template in my index.hbs I have a JS script in which I need to get a value of an array of object, here is the code of my script</p>
  
  <pre><code>  &lt;script &gt;
  
      new Morris.Line({
      element: 'myfirstchart',
      parseTime:false,
  
       data: {{graph}},
       xkey: 'version',
      ykeys: ['success'],
  
   labels: ['Success']
      });
  
      &lt;/script&gt;
  </code></pre>
  
  <p>but the array graph does not pass, in my log console it is shown like 
  this<a href="https://i.stack.imgur.com/Ly6B8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ly6B8.png" alt="enter image description here"></a></p>
  
  <p>What should I do to get the value of my {{graph}} ?</p>