JArrayExtensions.GetGuid method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Json.Extensions |
---|---|
Assembly | Skybrud.Essentials.dll |
GetGuid(JArray, int)
Extension method
Gets the GUID value from array
at the specified index
.
public static Guid GetGuid(this JArray array, int index)
GetGuid(JArray, string)
Extension method
Gets the GUID value of the token matching the specified path
, or System.Guid.Empty
if path
doesn't match a token.
public static Guid GetGuid(this JArray array, string path)
GetGuid(JArray, int, Guid)
Extension method
Gets the GUID value from array
at the specified index
.
public static Guid GetGuid(this JArray array, int index, Guid fallback)
GetGuid(JArray, string, Guid)
Extension method
Gets the GUID value of the token matching the specified path
, or the value of fallback
if path
doesn't match a token.
public static Guid GetGuid(this JArray array, string path, Guid fallback)