title: jquery autocomplete with json response
body: <p>im getting response in json, but this wont parse the json response. what m i doing wrong? i could'nt find anything on doc <a href="http://docs.jquery.com/Plugins/Autocomplete" rel="nofollow noreferrer">http://docs.jquery.com/Plugins/Autocomplete</a></p>
  
  <pre><code>$("#users-allowed").autocomplete("/people/following.json", {
    width: 320,
    //max: 4,
    highlight: false,
    scroll: true,
    scrollHeight: 300,
    formatItem: function(response, i, max) {
      console.log(response);
      console.log(response['items']);
      console.log(response.items);
      return i + "/" + max + ": \"" + response.status_code + "\" [" + response.status_description + "]";
  
      //return "&lt;img src='images/" + value + "'/&gt; " + value.split(".")[0];
    },
    formatResult: function(response) {
      //return value.split(".")[0];
      return response.status_description;
    }
  });
  </code></pre>