json support in visual studio 2010

Posted by jnsohnumr on Stack Overflow See other posts from Stack Overflow or by jnsohnumr
Published on 2010-05-11T22:32:47Z Indexed on 2010/05/11 22:34 UTC
Read the original article Hit count: 850

Hi,

I'm trying to work on a new project parsing some JSON data for a Silverlight 4 project (specifically created as a "Silverlight Business Application - Visual C#" project) using C# in Visual Studio 2010, and I can't find how to include the references to have parsers and native object support for JSON data.

As far as I know my development tools are up to date (checked MS update).

I know that I can probably just write my own parser but that seems like re-inventing the wheel. Below are some lines that work in VS 2008 in another project of ours (can't post the files due to their being part of a business app):

using System.Json;

results = (JsonObject)JsonObject.Load(e.Result);

I hope my description is adequate.

Thanks for looking,

jnsohnumr

© Stack Overflow or respective owner

Related posts about silverlight-4.0

Related posts about c#