Parser now creates lists only when it is necessary

This commit is contained in:
2025-04-10 16:12:48 +05:00
parent 08f1d7b0f5
commit 74d09c51a0
5 changed files with 31 additions and 23 deletions
@@ -3,7 +3,7 @@
namespace ParadoxSaveParser.Lib;
[JsonSourceGenerationOptions(MaxDepth = 1024, WriteIndented = true)]
[JsonSerializable(typeof(Dictionary<string, List<object>>))]
[JsonSerializable(typeof(Dictionary<string, object>))]
[JsonSerializable(typeof(List<object>))]
[JsonSerializable(typeof(string))]
[JsonSerializable(typeof(long))]