From 1300f30c1ac84a4ee203efc59d15e370d28246db Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Sun, 20 Oct 2024 01:20:48 +0300 Subject: [PATCH] Add JsonStringEnumConverter to KnownConverters --- src/OrchardCore/OrchardCore.Abstractions/Json/JOptions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/OrchardCore/OrchardCore.Abstractions/Json/JOptions.cs b/src/OrchardCore/OrchardCore.Abstractions/Json/JOptions.cs index 6b296a95928..9e8b78e19cc 100644 --- a/src/OrchardCore/OrchardCore.Abstractions/Json/JOptions.cs +++ b/src/OrchardCore/OrchardCore.Abstractions/Json/JOptions.cs @@ -16,6 +16,7 @@ public static class JOptions PathStringJsonConverter.Instance, TimeSpanJsonConverter.Instance, DateTimeJsonConverter.Instance, + new JsonStringEnumConverter() ]; public static readonly JsonSerializerOptions Base = new()