JObjectExtension.GetString method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Json.Extensions |
---|---|
Assembly | Skybrud.Essentials.dll |
GetString(JObject, string)
Static
Gets the string value of the token matching the specified path
, or null
if path
doesn't match a token.
public static string GetString(JObject obj, string path)
GetString<T>(JObject, string, Func<T, TResult>)
Static
Gets the value of the token matching the specified path
, or null
if path
doesn't match a token.
public static T GetString<T>(JObject obj, string path, Func<T, TResult> callback)
Type Parameters
T
Returns
T
An instance of T
, or null
.