public void Deserialise(string inputFile) { try { string jsonString = File.ReadAllText(inputFile); m_Data = JsonSerializer.Deserialize <ApplicationConfigData>(jsonString); } catch (Exception) { // Do nothing if no config file could be loaded. } }
public ApplicationConfig() { m_Data = new ApplicationConfigData(); }