|
|
@@ -1,4 +1,5 @@ |
|
|
|
using System.Text.Json; |
|
|
|
using System.Text.Json.Serialization; |
|
|
|
|
|
|
|
namespace DotNetCore.CAP.Dashboard |
|
|
|
{ |
|
|
@@ -6,7 +7,11 @@ namespace DotNetCore.CAP.Dashboard |
|
|
|
{ |
|
|
|
public static JsonSerializerOptions Default = new JsonSerializerOptions |
|
|
|
{ |
|
|
|
PropertyNamingPolicy = JsonNamingPolicy.CamelCase |
|
|
|
PropertyNamingPolicy = JsonNamingPolicy.CamelCase, |
|
|
|
Converters = |
|
|
|
{ |
|
|
|
new JsonStringEnumConverter(JsonNamingPolicy.CamelCase) |
|
|
|
} |
|
|
|
}; |
|
|
|
} |
|
|
|
} |