jQuery autocomplete and parsing received JSON
<p>JavaScript code of doing ajax request</p>

<pre><code>$('#search-field').autocomplete({source: 'url/of/autocomplete'});
</code></pre>

<p>It worked perfectly until I changed JSON structure. It used to return  </p>

<pre><code>["anything","something","super value"]
</code></pre>

<p>Now it (server) returns a bit complex JSON</p>

<pre><code>[{"title":"some-title","link":"/searc?q=some-title"}, {"title":"some-title2","link":"/searc?q=some-title2"}]
</code></pre>

<p>Well, it's not shown now. It's working but the values (title) are not shown obviously. </p>

<p>What should I do to solve it?</p>
