title: Get value of attribute in JSON
body: <p>I'm trying to isolate the <code>"ip"</code> attribute of a <code>JSON</code> object. The code that gets the <code>JSON</code> object is    </p>
  
  <pre><code>var parsed;
  $.getJSON('//jsonip.com/?callback=?', function(data) {
      parsed = JSON.stringify(data, null, 2);
      console.log(parsed);
  });
  </code></pre>
  
  <p>it returns this JSON object.</p>
  
  <pre><code>{
    "ip": "118.210.141.127",
    "about": "/about",
    "Pro!": "http://getjsonip.com",
    "reject-fascism": "Women make their own choices. Support abortion rights."
  }
  </code></pre>
  
  <p>For some reason <code>parsed.ip</code> returns undefined, not <code>"118.210.141.127"</code> how do I access the ip value properly?</p>