JObjectExtensions.GetStringArray method

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

GetStringArray(JObject, string)

Extension method

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

public static String[] GetStringArray(this JObject obj, string path)

Parameters

obj JObject

The instance of JObject .

path String

A String that contains a JPath expression.

Returns

Array of String

The token value as an array of String .