JSON Serialization is not just for Web Services

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.

3 thoughts on “JSON Serialization is not just for Web Services

Comments are closed.

Proudly powered by WordPress | Theme: Code Blog by Crimson Themes.