C# – How can I check if a field exists before trying to query it in a JSON JToken?
I am pulling down JSON data from a website and some of the fields are optional, meaning they do not always exist. When I try to query them, my program breaks. I believe I am checking for nulls incorrectly. using…