13

I'm trying to follow some examples using JSON with the Http Client, but they refer to a System.Json.DLL that I cannot find. See this reference to see the reference to System.Json.DLL, but I cannot find that DLL installed on my machine. Is it an add-on? I googled but found no other result...

Thanks.

Brian Mains
  • 50,520
  • 35
  • 148
  • 257
  • possible duplicate of [Json does not exist in the namespace System](http://stackoverflow.com/questions/12859319/json-does-not-exist-in-the-namespace-system) – nawfal Jun 11 '15 at 21:41

1 Answers1

12

That's a class library for Silverlight, but not [ASP] .NET.

If you really wanted to use it, there is an equivalent version in .net 4.5,

I would suggest you to take a look at Json.Net, it's one of the most popular .NET JSON libraries.

Jack
  • 2,600
  • 23
  • 29
  • Huh, I must have gotten the sample mixed up then. Thanks. – Brian Mains Dec 11 '12 at 02:14
  • Not a problem. If you think this has helped you to resolve your issue, please mark it as answer. :) – Jack Dec 11 '12 at 02:17
  • 13
    Am I missing something? That namespace does not exist in that dll for me at: `C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Runtime.Serialization.dll` – Kirk Woll Mar 18 '13 at 17:49
  • 1
    @DavidSherret as of now it is deprecated. – nawfal Jun 11 '15 at 21:12