예제 #1
0
        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));
        }