We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67320b2 commit 9c500b4Copy full SHA for 9c500b4
src/mcpdotnet/Utils/Json/JsonSerializerOptionsExtensions.cs
@@ -1,5 +1,4 @@
1
-using Microsoft.Extensions.Logging;
2
-using System.Text.Json;
+using System.Text.Json;
3
using System.Text.Json.Serialization;
4
5
namespace McpDotNet.Utils.Json;
@@ -21,7 +20,7 @@ private static JsonSerializerOptions CreateDefaultOptions()
21
20
22
// Add custom converters
23
options.Converters.Add(new JsonRpcMessageConverter());
24
- options.Converters.Add(new JsonStringEnumConverter());
+ options.Converters.Add(new JsonStringEnumConverter(JsonNamingPolicy.CamelCase));
25
26
// Configure general options
27
options.PropertyNameCaseInsensitive = true;
0 commit comments