diff --git a/JL.Core/Mining/Anki/AnkiUtils.cs b/JL.Core/Mining/Anki/AnkiUtils.cs index e8dbf560..fe0265d3 100644 --- a/JL.Core/Mining/Anki/AnkiUtils.cs +++ b/JL.Core/Mining/Anki/AnkiUtils.cs @@ -41,7 +41,7 @@ public static class AnkiUtils string? resultString = response?.Result?.ToString() ?? null; return resultString is not null - ? JsonSerializer.Deserialize(resultString.AsSpan()[1..^1]) + ? JsonSerializer.Deserialize(resultString.AsSpan()[1..^1], Utils.s_jsoNotIgnoringNull) : null; } @@ -51,7 +51,7 @@ public static class AnkiUtils string? resultString = response?.Result?.ToString() ?? null; return resultString is not null - ? JsonSerializer.Deserialize>(resultString) + ? JsonSerializer.Deserialize>(resultString, Utils.s_jsoNotIgnoringNull) : null; } }