How to access data in JSON format using javascript
<p>I'm trying to figure out on how to access data in JSON format and have gone a whole day searching for ways but I still can't find a solution to fit my needs. The closest relative question to my problem is <a href="http://stackoverflow.com/questions/14588928/accessing-json-data-in-a-javascript-variable">this question</a> but to no avail. </p>

<p>Basically I am retrieving data from <code>$.ajax()</code> which returns in JSON format.</p>

<pre><code>[{"v":"233","pv":"1.83","avd":"00:01:58","nv":"82.83%","br":"75.11%"},
{"v":"17","pv":"3.65","avd":"00:08:31","nv":"70.59%","br":"58.82%"},
{"v":"9","pv":"2.22","avd":"00:01:51","nv":"0.00%","br":"44.44%"}]
[{"date":"2013-02-01","visits":63},
{"date":"2013-02-02","visits":30}]
</code></pre>

<p>My problem is how can I access the elements inside the JSON, say I want to get all values of "nv" or all values of "date" on the second bracket, in javascript? I Am new at things like these so am not familiar with the terminologies, sorry for that.</p>

<p>Below is my code:</p>

<pre><code>var Data = $.ajax({
    url: url,
    type: 'POST',
    dataType:"json",
    async: false
}).responseText;

console.log(Data);
</code></pre>

<p><em>url</em> is a variable that is passed inside my function in case you might ask.</p>
