JsonUtils.LoadJsonArray method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Json |
---|---|
Assembly | Skybrud.Essentials.dll |
LoadJsonArray(string)
Static
Loads and parses the JSON array in the file at the specified path
.
public static JArray LoadJsonArray(string path)
Parameters
path
String
The path to the JSON file.
LoadJsonArray<T>(string, Func<T, TResult>)
Static
Loads and parses the JSON object in the file at the specified path
.
public static T[] LoadJsonArray<T>(string path, Func<T, TResult> func)
Type Parameters
T
The type to be returned.
Parameters
path
String
The path to the JSON file.
Returns
Array of
T
An instance of T
.