title: Javascript / JSON alert returning Undefined
body: <p>I am having a problem trying to alert the json data. </p>
  
  <p>Here is the code part:</p>
  
  <pre><code>$.getJSON("http://myurl/api/get_data", function(data){
      var output = '';
      $.each(data, function(index, value){
      alert(data); // returns object
      alert(value.myurl) //Here is the problem - returns undefined
  });
  </code></pre>
  
  <p>Here is the json data it's reading:</p>
  
  <pre><code>{"myurl":"http://somedomain.com/"}
  </code></pre>
  
  <p>How can I get the alert to return the value?</p>