background preloader

Tools

Facebook Twitter

Elmah

Optimize ASP.NET performance. Json.NET. Json.NET 4.0 Release 6 – Serialization Performance - James Newton-King. The big feature of this release is improved performance.

Json.NET 4.0 Release 6 – Serialization Performance - James Newton-King

For the first time in a couple of years I’ve sat down and benchmarked, profiled and tuned Json.NET. For all its features Json.NET was already fast but there are improvements in JsonTextReader which I rewrote and object deserilization. Json.NET is faster than both .NET framework JSON serializers in all scenarios again. Improved error messages One of the nice features of JsonTextReader is that it keeps track of its current line number and line position and includes that information when it encounters bad JSON.