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?
closed as not constructive by ThinkingStiff, gnat, Sindre Sorhus, Bart, Lukas Knuth Feb 9 '13 at 14:40As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question. |
|||
|
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. |
|||
|
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 .. |
|||||||||
|
An author of the ServerStack framework introduced a new JSON serializer for .NET and Mono, and their benchmarks quote higher performance than JSON.NET and WCF JSON Serializer. At first glance it doesn't support a couple of important features from JSON.NET: indented serialized text, and it looks like it requires more code. |
||||
|