title: MVC 3 JQuery UI autocomplete use model collection instead of action json result
body: <p>In my app I use auto complete text boxes. The problem is that for their source I have an action that returns me the items as JSON. Since I got only few items I do not want to call  every time after the user press a key. I have the items in my model. How can I generate the JSON array from my model?</p>
  
  <p>Something like: @Model.Categories.ToJsonAray(c=>c.Name)
  It is also good if you can tell me how to generate the json array from a list of strings.</p>