mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Whycome this was Newtonsoft?
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user