Update to .NET 10.x packages (#957)

This commit is contained in:
Stephen Toub 2025-11-12 14:14:40 +01:00 • committed by GitHub
commit b993ae0e61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,7 +47,7 @@ public static partial class McpJsonUtilities
// Add a converter for user-defined enums, if reflection is enabled by default.
if (JsonSerializer.IsReflectionEnabledByDefault)
{
options.Converters.Add(new CustomizableJsonStringEnumConverter());
options.Converters.Add(new JsonStringEnumConverter());
}
options.MakeReadOnly();