JObjectExtensions.GetGuidArray method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Json.Extensions
Assembly Skybrud.Essentials.dll

GetGuidArray(JObject, string)

Extension method

Gets an array of Guid from the token matching the specified path.

public static Guid[] GetGuidArray(this JObject obj, string path)

Parameters

obj JObject

The instance of JObject .

path String

A String that contains a JPath expression.

Returns

Array of Guid

The token value as an array of Guid .