format kek

This commit is contained in:
CWX
2025-01-23 20:59:44 +00:00
parent d5f8509823
commit 0dc240fa24
-1
View File
@@ -52,7 +52,6 @@ public class JsonUtil
return string.IsNullOrEmpty(json) ? null : JsonSerializer.Deserialize(json, type, jsonSerializerOptionsNoIndent);
}
public string? Serialize<T>(T? obj, bool indented = false)
{
return obj == null ? null : JsonSerializer.Serialize(obj, indented ? jsonSerializerOptionsIndented : jsonSerializerOptionsNoIndent);