I installed json.net using the NuGet package manager:
But now when I actually try to use the thing by doing something like:
JObject message = Jobject.parse(someJson);
I am getting Type or namespace name 'JObject' could not be found
.
How do I include it in my solution after NuGet installation?
You need to import the namespace containing the JObject
class:
using Newtonsoft.Json.Linq;
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