Example #1
0
        public void createNewJson(string path)
        {
            string str_feigJsonList = Util.str_NewFeig;

            feigJsonList = JsonConvert.DeserializeObject <FeigJsonList>(str_feigJsonList);
            File.WriteAllText(path, JsonConvert.SerializeObject(feigJsonList, Formatting.Indented));
        }
Example #2
0
        public void readFromFile(string path)
        {
            string jsonFile_in = path;

            feigJsonList = JsonConvert.DeserializeObject <FeigJsonList>(File.ReadAllText(jsonFile_in));
        }
Example #3
0
 public ReadFeigJson()
 {
     feigJsonList = new FeigJsonList();
 }