Appearance
FromJsonFile Method
Definition
- Namespace:
JASE - Assembly:
JASE.dll
Overloads
| Name | Description |
|---|---|
T FromJsonFile() | Generate a configuration instance from the JSON file named by JsonFilenameAttribute. |
T FromJsonFile(string filename, EnvironmentMergeMode mode = null, bool performTransforms = null) | Generate a Configuration class from a JSON file |
T FromJsonFile()
csharp
T FromJsonFile()Generate a configuration instance from the JSON file named by JsonFilenameAttribute.
Type parameters
| Name | Description |
|---|---|
T | The configuration type. |
Returns
instance of type T
T FromJsonFile(string filename, EnvironmentMergeMode mode = null, bool performTransforms = null)
csharp
T FromJsonFile(string filename, EnvironmentMergeMode mode = null, bool performTransforms = null)Generate a Configuration class from a JSON file