I don't think it is possible to trivialize, more, serializing a generic collection and saving it to disk.
try {
string jsonText = JsonSerializer.Serialize<TechniqueList>(techniqueList);
File.WriteAllText(pomodoroFile, jsonText); }
I don't think it is possible to trivialize, more, serializing a generic collection and saving it to disk.
try {
string jsonText = JsonSerializer.Serialize<TechniqueList>(techniqueList);
File.WriteAllText(pomodoroFile, jsonText); }