I created a C# library project. The project has this line in one class:
JsonConvert.SerializeObject(objectList);
I\'m getting error saying
JsonConvert is from the namespace Newtonsoft.Json, not System.ServiceModel.Web
JsonConvert
Newtonsoft.Json
System.ServiceModel.Web
Use NuGet to download the package
NuGet
package
"Project" -> "Manage NuGet packages" -> "Search for "newtonsoft json". -> click "install".