title: HowTo pass List<T> object to Javascript in MVC?
body: <p>I wanna do something like that:</p>
  
  <pre><code> $(document).ready(function () 
  {
      calendarGrid.create(@Model.Events)
  }
  </code></pre>
  
  <p>Model.Events is a List.</p>
  
  <p>I tried to use:</p>
  
  <ul>
  <li>System.Web.Script.Serialization.JavaScriptSerializer.Serialize(@Model.Events)</li>
  <li>JSON.parse(@Model.Events)</li>
  <li>JSON.strigngify(@Model.Events)</li>
  </ul>
  
  <p>nothing helps. </p>