private OneCallResponse OneCallDesignData() { string sampleLocation = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, _designJsonPath); string sampleJson = File.ReadAllText(sampleLocation); // deserialize and return the resulting object return(OpenWeather.DeserializeJson <OneCallResponse>(sampleJson)); }