Skip to content

Commit

Permalink
Fixed BlockFieldSerializerV0
Browse files Browse the repository at this point in the history
  • Loading branch information
usercode committed Mar 7, 2024
1 parent c5ab7bf commit 4936d46
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

using System.IO.Compression;
using System.Text.Json;
using System.Text.Json.Serialization;
using DragonFly.BlockField.Json;

namespace DragonFly.BlockField;

Expand All @@ -17,7 +17,7 @@ static BlockFieldSerializerV0()
{
Options = new JsonSerializerOptions();
Options.Converters.Add(new BlockFieldConverter());
Options.Converters.Add(new JsonStringEnumConverter());
Options.Converters.Add(new EnumStringJsonConverterFactory());
}

/// <summary>
Expand Down

0 comments on commit 4936d46

Please sign in to comment.