 <p>Also you can create something like:</p> <pre><code>public class JqGridJsonData { public int Total {get;set;} public int Page {get;set;} etc } </code></pre> <p>And serialize this to json with Json.NET <a href="http://james.newtonking.com/pages/json-net.aspx" rel="nofollow noreferrer">http://james.newtonking.com/pages/json-net.aspx</a></p>