title: Retreving URL String to generate JSON Object in JavaScript?
body: <p>I want to access the Yelp API 1.0, I have got for example this URL</p>
  
  <blockquote>
    <p><a href="http://api.yelp.com/business_review_search?term=burger&amp;location=Los%20Angeles%2A%20CA&amp;ywsid=SECRETKEY" rel="nofollow">http://api.yelp.com/business_review_search?term=burger&amp;location=Los%20Angeles%2A%20CA&amp;ywsid=SECRETKEY</a></p>
  </blockquote>
  
  <p>which will give me some Burger Locations in LA in a JSON String.</p>
  
  <p>How can I access this URL in order turn the response into a JS Object?</p>
  
  <p>I know how to create JS Objects, the problem is getting the response from the server.</p>
  
  <p>Here's my code right now: Maybe we can try to start from there:</p>
  
  <pre><code>var url = "http://api.yelp.com/business_review_search?term=burger&amp;location=Los%20Angeles%2A%20CA&amp;ywsid=secretKey" ;
  
  
              $.getJSON(url, function(json) {
                  alert("JSON Data: " + json.message.text);
              });
  </code></pre>