Skip to content

FromJsonFile Method ​

Definition ​

  • Namespace: JASE
  • Assembly: JASE.dll

Overloads ​

NameDescription
SC FromJsonFile()Generate a configuration instance from the JSON file named by JsonFilenameAttribute.
SC FromJsonFile(string filename, EnvironmentMergeMode mode = null, bool performTransforms = null)Generate a Configuration class from a JSON file

SC FromJsonFile() ​

csharp
SC FromJsonFile()

Generate a configuration instance from the JSON file named by JsonFilenameAttribute.

Returns ​

instance of type SC

SC FromJsonFile(string filename, EnvironmentMergeMode mode = null, bool performTransforms = null) ​

csharp
SC FromJsonFile(string filename, EnvironmentMergeMode mode = null, bool performTransforms = null)

Generate a Configuration class from a JSON file

Returns ​

instance of type SC