private async Task LoadSerializedDataAsync() { var path = GetProjectsContentPath(SavePath.Value); if (!File.Exists(path)) { return; } var deserializer = Root.Value.Type.GetMethods() .FirstOrDefault(x => x.GetCustomAttribute <PwDeserializerAttribute>() != null); if (deserializer != null) { await CustomSerializer.LoadDataAsync(deserializer, Root.Value, path); } else { await JsonSerializer.LoadDataAsync(Root.Value, path); } }