Remarks

JavaScriptSerializer vs Json.NET

The [JavaScriptSerializer class](https://msdn.microsoft.com/en-us/library/system.web.script.serialization.javascriptserializer(v=vs.110).aspx) was introducted in .NET 3.5 and is used internally by .NET’s asynchronous communication layer for AJAX-enabled applications. It can be used to work with JSON in managed code.

Despite the existence of the JavaScriptSerializer class, Microsoft recommends using the open source Json.NET library for serialization and deserialization. Json.NET offers better performance and a friendlier interface for mapping JSON to custom classes (a custom [JavaScriptConverter object](https://msdn.microsoft.com/en-us/library/system.web.script.serialization.javascriptconverter(v=vs.110).aspx) would be needed to accomplish the same with JavaScriptSerializer).