I want to use the JsonWriter to create a representation of a custom object, the problem is that I can’t find the namespace in which the JsonWriter Class resides, is it an external library or already embedded in the .netFramework? I am using Microsoft Visual Studio 2010, and the project is a Windows Communication Service using .net 4.0
Thanks in advance
You could install the JSON.NET NuGet:
The
JsonWriterclass is defined in theNewtonsoft.Jsonassembly that will automatically be added to your project when you install the NuGet. Or you could also manually download and reference this assembly to your project.