public void ZjistiNext() { string jsonNext = HttpManager.NacistNext(); Dictionary <string, object> list = JsonConverter.DictionaryZJson(jsonNext); NextLaunch = int.Parse(list["launch_date_unix"].ToString()); NazevLabel.Content = list["mission_name"].ToString(); DetailyButton.Tag = list["flight_number"].ToString(); }
private void Generovat() { string jsonNext = HttpManager.NacistNext(); Dictionary <string, object> list = JsonConverter.DictionaryZJson(jsonNext); int cisloNext = int.Parse(list["flight_number"].ToString()); //Dictionary<string, object> letyList = JsonConverter.DictionaryZJson(letyJson); List <string> letyList = JsonConverter.ListZJson(letyJson); foreach (var item in letyList) { } }