JSON Serialization is not just for Web Services
April 24th, 2009
Last week we ran into a situation where needed to serialize an generic IDictionary so that we could stuff it in a database. And of course you can’t do this using the .NET XML serializers because they only work with concrete types. But I knew from past experience with Web Services that this could be achieved using the JSON serializer that’s built into ASP.NET. Unlike Greg we only needed something “quick and dirty” so we just went and hooked up to the JSON serializer and in 5 minutes we had a working solution.


