title: Parsing Json in Groovy
body: <p>I have a following json string:</p>
  
  <pre><code>[ { id: '123', name: 'bla bla', type: 'Source', isLeaf: true },
    { id: '3425', name: 'test test', type: 'Reference', isLeaf: false },
    { id: '12678', name: 'tags', type: 'Source', isLeaf: false },
  ]
  </code></pre>
  
  <p>I am trying to parse this using JsonSlurper but getting error:</p>
  
  <pre><code>groovy.json.JsonException: Lexing failed on line: 1, column: 5, while reading 'i', no possible valid JSON value or punctuation could be recognized.
  </code></pre>
  
  <p>How do I parse it and access the <code>id:'3425'</code>?</p>