title: Accessing Array Values in a json file
body: <p>I have this json file that I am appending to the html.</p>
  
  <pre><code>"{\"Item1\":[{\"Id\":2,\"Title\":\"Support\",\"Items\":8},{\"Id\":5,\"Title\":\"Datacenter\",\"Items\":5},{\"Id\":3,\"Title\":\"Bogholderiet\",\"Items\":5},{\"Id\":8,\"Title\":\"Helpdesk\",\"Items\":4},{\"Id\":9,\"Title\":\"SLA og VIP\",\"Items\":1},{\"Id\":7,\"Title\":\"Hostmaster\",\"Items\":1}],\"Item2\":[{\"Id\":7,\"FullName\":\"p11\",\"Items\":5},{\"Id\":17,\"FullName\":\"p8\",\"Items\":3},{\"Id\":9,\"FullName\":\"p10\",\"Items\":3},{\"Id\":8,\"FullName\":\"p6\",\"Items\":3},{\"Id\":3,\"FullName\":\"p1\",\"Items\":3},{\"Id\":5,\"FullName\":\"p2\",\"Items\":2},{\"Id\":16,\"FullName\":\"p3\",\"Items\":1},{\"Id\":11,\"FullName\":\"p4\",\"Items\":1}]}"
  </code></pre>
  
  <p>My question is how can I append only the value of "SLA og VIP". Below code I am able to access to array of Item1 and appending it to html.</p>
  
  <pre><code>if (key === 'Item1') {
  value[key].forEach(function (val) {
  var tbl3Row = "&lt;tr " + (parseInt(val.TotalUnresolvedItems) &gt; 3 ? " class='colorgul'" : "") + (parseInt(val.TotalUnresolvedItems) &lt; 4 ? " class='colorgreen'" : "") + "&gt;" + "&lt;td&gt;" + val.Title + "&lt;/td&gt;" + "&lt;td&gt;" + val.TotalUnresolvedItems + "&lt;/td&gt;" + "&lt;/tr&gt;"
  table3Rows += tbl3Row;                                   
   })
   }
  </code></pre>
  
  <p>But now I am only trying to access to the Title value"SLA og VIP". This is the formula that i manage to find:</p>
  
  <pre><code>parsedData.Item1[4]
  </code></pre>
  
  <p>I just dont know how can I use this inside of this code:</p>
  
  <pre><code>if (key === 'Item1') {
  value[key].forEach(function (val) {
  var tbl3Row = "&lt;tr " + (parseInt(val.TotalUnresolvedItems) &gt; 3 ? " class='colorgul'" : "") + (parseInt(val.TotalUnresolvedItems) &lt; 4 ? " class='colorgreen'" : "") + "&gt;" + "&lt;td&gt;" + val.Title + "&lt;/td&gt;" + "&lt;td&gt;" + val.TotalUnresolvedItems + "&lt;/td&gt;" + "&lt;/tr&gt;"
  table3Rows += tbl3Row;                                   
   })
   }
  </code></pre>