Skip to content

Commit

Permalink
Add JsonStringEnumConverter to KnownConverters (#16913)
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco authored Oct 25, 2024
1 parent 6b9bcac commit 70edc48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/OrchardCore/OrchardCore.Abstractions/Json/JOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public static class JOptions
PathStringJsonConverter.Instance,
TimeSpanJsonConverter.Instance,
DateTimeJsonConverter.Instance,
new JsonStringEnumConverter()
];

public static readonly JsonSerializerOptions Base = new()
Expand Down

0 comments on commit 70edc48

Please sign in to comment.