diff --git a/src/DotNetCore.CAP.Dashboard/JsonDispatcher.cs b/src/DotNetCore.CAP.Dashboard/JsonDispatcher.cs index 97e1259..aad6d42 100644 --- a/src/DotNetCore.CAP.Dashboard/JsonDispatcher.cs +++ b/src/DotNetCore.CAP.Dashboard/JsonDispatcher.cs @@ -37,8 +37,8 @@ namespace DotNetCore.CAP.Dashboard Converters = new JsonConverter[] { new StringEnumConverter - { - CamelCaseText= true + { + NamingStrategy = new CamelCaseNamingStrategy() } } }; diff --git a/src/DotNetCore.CAP.Dashboard/JsonStats.cs b/src/DotNetCore.CAP.Dashboard/JsonStats.cs index 6e13ccf..35dbf0a 100644 --- a/src/DotNetCore.CAP.Dashboard/JsonStats.cs +++ b/src/DotNetCore.CAP.Dashboard/JsonStats.cs @@ -34,7 +34,7 @@ namespace DotNetCore.CAP.Dashboard { new StringEnumConverter { - CamelCaseText = true + NamingStrategy = new CamelCaseNamingStrategy() } } };