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 5a2071e commit 3caa138Copy full SHA for 3caa138
GameFrameX.Utility/JsonHelper.cs
@@ -18,6 +18,8 @@ public static class JsonHelper
18
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
19
// 忽略循环引用
20
ReferenceHandler = ReferenceHandler.IgnoreCycles,
21
+ // 大小写判断
22
+ PropertyNameCaseInsensitive = true,
23
// 添加自定义转换器,类似于 StringEnumConverter
24
Converters =
25
{
@@ -34,6 +36,8 @@ public static class JsonHelper
34
36
35
37
38
39
40
41
// 格式化 JSON
42
WriteIndented = true,
43
0 commit comments