1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00
This commit is contained in:
Robert 2024-02-27 21:23:13 +01:00
parent 68826583ab
commit 5f41716b56

View File

@ -54,7 +54,7 @@ internal class M0003SystemTextJson : IProfileMigration
private void FilterType(JsonObject jsonObject)
{
// If there only a type, replace or remove it depending on whether there's a matching JsonDerivedType
// Replace or remove $type depending on whether there's a matching JsonDerivedType
// This could be done with reflection but that would mean this migration automatically gains new behaviour over time.
JsonNode? type = jsonObject["$type"];
if (type != null)