javascript- How to parse JSON using javascript : <p>If my json is this:</p>

<pre><code>[
     ["cat1"],
     ["cat2"],
     ["cat3"],
     ["cat4"],
     ["cat5"]
]
</code></pre>

<p><strong>How to parse this in javascript</strong>. I am looking for some <strong>for loop kind of solution</strong> which can iterate over the json and can give me "cat1 ", "cat2" etc. </p>

<p><strong>P.S.:</strong> My json list is dynamic which i am getting from some source. So, i dont know how my json elements are there and what are the fields.     </p>
