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
I use System.Web.Script.Serialization.JavaScriptSerializer
However, since it does not work in Visual Studio 2010 without configuration, you'll have to figure out how to make it work yourself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With