I was wondering if anyone has run any benchmark tests on the JSON() function in Asp.net MVC and how it compares to JSON.NET? Also which one outputs the best json strings?
+1
A:
i am using the MVC json and it is a very good choice. i used json.net in the past it was good but there is overhead because of the 3 party DLL asp.net 3 + is doing great with json.
give it a try ..
Moran
2009-02-04 08:50:17
+6
A:
There is a performance comparison here. ASP.NET MVC uses the JavaScriptSerializer.
Json.NET gives you more control over outputting JSON (especially around dates) and also has the option for printing indented JSON.
James Newton-King
2009-06-02 05:14:50