Update to .NET 10.x packages (#957)
This commit is contained in:
parent
d4ee78797b
commit
b993ae0e61
1 changed files with 298 additions and 174 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue