Here is some generic code;
Dim serializer as New JsonSerializer()
Dim decoded = serializer.Deserialize(New JsonTextReader(New StreamReader(New FileStream(jsonFilePath, FileMode.Open, FileAccess.Read))))
Dim possiblyNull = decoded("test")("path")
If test.path does not exist, this throws a NullReferenceException. How in the world can I check if a path exists using NewtonSoft.Json in vb.net? I cannot seem to find anything in the documentation, or in my searches online. This seems like it would be a fairly standard feature to include.