Turning JSON into a ExpandoObject

added by zigamorph
7/19/2010 2:09:38 PM

1 Kicks, 221 Views

Recently I had the need for a web service of mine to take a JSON blob as an input. This isn’t really exciting or all that interesting a problem, but I really didn’t enjoy the code smell that came from drilling in to the resulting Dictionary object that comes from desterilizing the JSON object into something that .NET understands.