title: How to parse json response from Bigquery results?
body: <p>I tried sample javascript code to call Google bigQuery API ( <a href="https://developers.google.com/bigquery/docs/authorization#client-side-javascript" rel="nofollow">https://developers.google.com/bigquery/docs/authorization#client-side-javascript</a> )</p>
  
  <p><strong>Js:</strong></p>
  
  <pre><code>function runQuery() {
     var request = gapi.client.bigquery.jobs.query({
        'projectId': project_id,
        'timeoutMs': '30000',
        'query': 'SELECT TOP(repository_language, 5) as language, COUNT(*) as count FROM [publicdata:samples.github_timeline] WHERE repository_language != "";'
      });
      request.execute(function(response) {     
          console.log(response);
          var results = response.result.rows ;
          $('#result_box').html(JSON.stringify(results, null));
      });
  }
  </code></pre>
  
  <p>Above big query <strong>returns</strong> :</p>
  
  <pre><code>[{"f":[{"v":"JavaScript"},{"v":"949899"}]},{"f":[{"v":"Ruby"},{"v":"640659"}]},{"f":[{"v":"Java"},{"v":"568202"}]},{"f":[{"v":"Python"},{"v":"484852"}]},{"f":[{"v":"PHP"},{"v":"453830"}]}]
  </code></pre>
  
  <p>Please help me how to parse the values from above results in JSON Format ?</p>
  
  <pre><code>{"JavaScript": "949899", "Ruby": "640659", "Java": "568202", "Python": "484852", "PHP": "453830" }
  </code></pre>