JObjectExtensions.GetDoubleArray method

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

GetDoubleArray(JObject, string)

Extension method

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

public static Double[] GetDoubleArray(this JObject obj, string path)

Parameters

obj JObject

The instance of JObject .

path String

A String that contains a JPath expression.

Returns

Array of Double

The token value as an array of Double .