Browse by Tags

Improved BSON Performance BSON performance has improved markedly in R7. Deserializing is as fast as it was before (i.e. ridiculously fast) but writing BSON has gotten a big boost when writing large complex objects. Using an extreme example this benchmark compares the previous release with the new BSON serializer: ShouldSerialize Did you know that the good old XmlSerializer had support for conditionally...

A lot of work around performance went into the latest release of Json.NET , with big improvements in both serializing and deserializing over the previous version. I can happily say that Json.NET is now faster than both the JavaScriptSerializer and the WCF DataContractJsonSerializer over all scenarios.   Other .NET Serializers The latest performance improvements now puts Json.NET on the same level...

A new Json.NET release! As well as the new features below this release also adds documentation for common questions and I’ve spent some time having fun working hard on performance to make this the fastest version ever. Expect a post with sweet Excel graphs in the near future. Binary JSON (BSON) support Json.NET now supports reading and writing binary JSON (BSON). BSON is a standard for binary JSON...

Best. Serializer. Ever. ??? Profit! JsonSerializer Improvements Part Deux A huge amount has changed in the Json.NET serializer since beta 3. As well as a general refactor (the JsonSerializer.cs file was pushing 1000 lines last release), tons and tons of new features have been added. New to the serializer is reference tracking, type tracking, serialization callback events, MetadataTypeAttribute support...

Native JSON is a new feature to IE8 and Firefox 3.5. Built in serialization and deserialization in the browser makes evaling JSON text a thing of the past. This post looks at how to use native JSON and how it can complement Json.NET’s server side JSON support by parsing and generating JSON on the browser. Native JSON API Using the new native JSON API is pretty simple. To turn JSON into a JavaScript... More Posts Next page »