A:防火墙增删改

This commit is contained in:
jimmy committed 2025-07-31 16:42:42 +08:00
1 parent a99fa53b8c
commit 2500be5009
2 files changed
+31 -4

No files matched your search

@@ -10,7 +10,10 @@ public static class JsonHelper
{
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
WriteIndented = true,
Converters = { new IpAddressConverter() }
Converters =
{
new IpAddressConverter(), new JsonStringEnumConverter(JsonNamingPolicy.CamelCase, allowIntegerValues: false)
},
};
public static string ToJson<T>(T value) =>