JObjectExtension.HasValue method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Json.Extensions |
---|---|
Assembly | Skybrud.Essentials.dll |
HasValue(JObject, string)
Static
Gets whether a token matching the specified path
exists and isn't null
(or an empty string).
public static bool HasValue(JObject obj, string path)
Returns
true
if the property exists and the value isn't null
, otherwise false
.