title: Javascript convert stringified array of objects into array of objects
body: <p>I have the following variable (given to me through a HTTP response, hence the string):</p>
  
  <pre><code>var result = '[{name: "John"}, {name: "Alice"}, {name: "Lily"}]'
  </code></pre>
  
  <p>In reality there are more objects and each object has more properties, but you get the idea.</p>
  
  <p>When trying <code>JSON.parse(result)</code> I get the following error: </p>
  
  <pre><code>[{name: "John"}, {name: "Alice"}, {name: "Lily"}]
    ^
  
  SyntaxError: Unexpected token n
  </code></pre>
  
  <p>How can I parse this string into an array of javascript objects?</p>