public void Save(string file) { string json = JsonConvert.SerializeObject(this, Formatting.Indented); File.WriteAllText(file, json); }