title: Access json value using JavaScript object notation
body: <p>I am unable to access a json value</p>
  
  <pre><code>{"phone": [
  {
      "@attributes": {
          "type": "cell",
          "ext": ""
      }
  }, "(123) 456 7890", {
      "@attributes": {
          "type": "work",
          "ext": ""
      }
  }
  ]}
  </code></pre>
  
  <p>using the following JavaScript: psudo</p>
  
  <pre><code>for each phone line ...
  
  console.log(["@attributes"].type);
  console.log(this); 
  console.log(["@attributes"].ext);
  
  ... end for
  </code></pre>
  
  <p>I expected the following output:</p>
  
  <pre><code>cell
  work (123) 456 7890
  </code></pre>