3 ms·
> Microsoft announcing they'd make JSON.NET, a third party JSON library, the default JSON serializer over their home-grown DataContractJsonSerializer in the nex
by cameronh90 15y ago
> Microsoft announcing they'd make JSON.NET, a third party JSON library, the default JSON serializer over their home-grown DataContractJsonSerializer in the next version of ASP.NET MVC
Finally! For those who haven't used it, DataContractJsonSerializer has the most absurd way of serialising dictionaries into JSON. Rather than producing {"k1": "v1", "k2": "v2"} it produces [{"Key": "k1", "Value": "v1"}, {"Key":"k2", "Value": "v2"}]
- JamesNK 15y ago> DataContractJsonSerializer has the most absurd way of serialising dictionaries into JSON. DataContractJsonSerializer is a hack that is built on top of an XML parser. For the people who are unfamiliar with .NET there is a comparison of Json.NET to Microsoft's two JSON serializers here: http://json.codeplex.com/ http://json.codeplex.com/ <- Json.NET homepage