From 36e1e6bde07447344403973b564b5c7accd8e58d Mon Sep 17 00:00:00 2001 From: Rolf Kristensen Date: Sun, 28 Apr 2024 09:34:35 +0200 Subject: [PATCH] JsonSerializerOptions - Added JsonStringEnumConverter --- src/Elastic.CommonSchema/Serialization/JsonConfiguration.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Elastic.CommonSchema/Serialization/JsonConfiguration.cs b/src/Elastic.CommonSchema/Serialization/JsonConfiguration.cs index 7facf016..daba1022 100644 --- a/src/Elastic.CommonSchema/Serialization/JsonConfiguration.cs +++ b/src/Elastic.CommonSchema/Serialization/JsonConfiguration.cs @@ -21,6 +21,7 @@ public static class EcsJsonConfiguration PropertyNamingPolicy = new SnakeCaseJsonNamingPolicy(), Converters = { + new JsonStringEnumConverter(), new EcsDocumentJsonConverterFactory(), new LogEntityJsonConverter(), new EcsEntityJsonConverter(),