Skip to content

FromJsonFile Method ​

Definition ​

  • Namespace: JASE
  • Assembly: JASE.dll

Overloads ​

NameDescription
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 ​

NameDescription
TThe 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