JObjectExtensions.GetObjectArray method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Json.Extensions |
---|---|
Assembly | Skybrud.Essentials.dll |
GetObjectArray(JObject, string)
Extension method
Gets an array of JObject from the token matching the specified path
.
public static JObject[] GetObjectArray(this JObject obj, string path)
Parameters
GetObjectArray<T>(JObject, string)
Extension method
Gets an array of T
from the token matching the specified path
.
public static T[] GetObjectArray<T>(this JObject obj, string path)
Type Parameters
T
Parameters
Returns
Array of
T
The token value as an array of T
.
GetObjectArray<T>(JObject, string, Func<T, TResult>)
Extension method
Gets an array of T
from the token matching the specified path
.
public static T[] GetObjectArray<T>(this JObject obj, string path, Func<T, TResult> callback)
Type Parameters
T
Parameters
Returns
Array of
T
The token value as an array of T
.