title: Accessing JSON data
body: <p>If I am given the following data by a web-service:</p>
  
  <pre><code>{
      "d": [
          {
              "col1": "col 1 data 1",
              "col2": "col 2 data 1"
          },
          {
              "col1": "col 1 data 2",
              "col2": "col 1 data 2"
          }
      ]
  }
  </code></pre>
  
  <p>how do I access the second col1?</p>
  
  <p>As the following:</p>
  
  <pre><code>success: function( data ) {
           alert( data.d ) ;
  },
  </code></pre>
  
  <p>gives me:</p>
  
  <pre><code>[object Object],[object Object]
  </code></pre>