JObjectExtensions.GetFloatArray method

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

GetFloatArray(JObject, string)

Extension method

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

public static Single[] GetFloatArray(this JObject obj, string path)

Parameters

obj JObject

The instance of JObject .

path String

A String that contains a JPath expression.

Returns

Array of Single

The token value as an array of Single .