JObjectExtensions.GetUInt64 method
Version 1.1.28
.NET Framework 4.8
| Namespace | Skybrud.Essentials.Json.Extensions |
|---|---|
| Assembly | Skybrud.Essentials.dll |
GetUInt64(JObject, string)
Extension method
Gets the UInt64 value of the token matching the specified path, or
0 if path doesn't match a token.
public static UInt64 GetUInt64(this JObject obj, string path)
GetUInt64<T>(JObject, string, Func<T, TResult>)
Extension method
Gets the UInt64 value of the token matching the specified path and parses
it into an instance of T, or the default value of T if
path doesn't match a token.
public static T GetUInt64<T>(this JObject obj, string path, Func<T, TResult> callback)
Type Parameters
T
Returns
T
An instance of UInt64 , or 0 if path doesn't
match a token.