public static string CreateJson()
        {
            Dictionary <string, Dictionary <string, RegionAppearance> > allRegionColors = new Dictionary <string, Dictionary <string, RegionAppearance> >();
            Dictionary <int, Dictionary <int, int> > allRegions = AnalysData.ReadFromFile();
            Dictionary <int, int> regionIncidence = new Dictionary <int, int>();

            foreach (KeyValuePair <int, Dictionary <int, int> > keyValue in allRegions)
            {
                regionIncidence = keyValue.Value;
                Dictionary <string, RegionAppearance> regionColors = new Dictionary <string, RegionAppearance>();
                foreach (KeyValuePair <int, int> item in regionIncidence)
                {
                    regionColors.Add(item.Key.ToString(), new RegionAppearance(item.Value));
                }
                allRegionColors.Add(keyValue.Key.ToString(), regionColors);
            }
            string jsonString = JsonSerializer.Serialize(allRegionColors);

            return(jsonString);
        }
        public static string FullDataJson()
        {
            string jsonString = JsonSerializer.Serialize(AnalysData.FullData());

            return(jsonString);
        }
        public static string DateOfCreationJson()
        {
            string jsonString = JsonSerializer.Serialize(AnalysData.DateOfCreationData());

            return(jsonString);
        }