public static void ExportProfile(ProfileModel prof, string path) { var json = JsonConvert.SerializeObject(prof); File.WriteAllText(path, json); }