JsonUtils.LoadJsonObject method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Json |
---|---|
Assembly | Skybrud.Essentials.dll |
LoadJsonObject(string)
Static
Loads and parses the JSON object in the file at the specified path
.
public static JObject LoadJsonObject(string path)
Parameters
path
String
The path to the JSON file.
LoadJsonObject<T>(string)
Static
Loads and parses the JSON object in the file at the specified path
.
public static T LoadJsonObject<T>(string path)
Type Parameters
T
Parameters
path
String
The path to the JSON file.
Returns
T
An instance of T
.
LoadJsonObject<T>(string, Func<T, TResult>)
Static
Loads and parses the JSON object in the file at the specified path
.
public static T LoadJsonObject<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
T
An instance of T
.