Whycome this was Newtonsoft?

This commit is contained in:
barelyprofessional
2026-02-19 19:14:50 -06:00
parent e5f98fe24c
commit 2c7e2adf48

View File

@@ -1,9 +1,10 @@
using Humanizer; using System.Text.Json;
using System.Xml;
using Humanizer;
using KfChatDotNetBot.Models; using KfChatDotNetBot.Models;
using KfChatDotNetBot.Models.DbModels; using KfChatDotNetBot.Models.DbModels;
using KfChatDotNetBot.Settings; using KfChatDotNetBot.Settings;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using NLog; using NLog;
using RandN; using RandN;
using RandN.Compat; using RandN.Compat;
@@ -348,7 +349,7 @@ public static class Money
string? metaJson = null; string? metaJson = null;
if (gameMeta != null) if (gameMeta != null)
{ {
metaJson = JsonConvert.SerializeObject(gameMeta, Formatting.Indented); metaJson = JsonSerializer.Serialize(gameMeta, Formatting.Indented);
_logger.Debug("Serialized metadata follows"); _logger.Debug("Serialized metadata follows");
_logger.Debug(metaJson); _logger.Debug(metaJson);
} }