title: Equivalent Razor Syntax of Following Statement?
body: <p>Let's say I have following ASP.NET Web Form engine code, how can I express it in Razor engine?</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      var initialData = &lt;%= new JavaScriptSerializer().Serialize(Model) %&gt;;
  &lt;/script&gt;
  </code></pre>
  
  <p>Thanks
  Hardy</p>