mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Converted shard and logclean service
This commit is contained in:
parent
da9d84a197
commit
d56e878c28
11 changed files with 264 additions and 153 deletions
|
|
@ -5,7 +5,7 @@ namespace Myriad.Serialization
|
|||
{
|
||||
public static class JsonSerializerOptionsExtensions
|
||||
{
|
||||
public static JsonSerializerOptions ConfigureForNewcord(this JsonSerializerOptions opts)
|
||||
public static JsonSerializerOptions ConfigureForMyriad(this JsonSerializerOptions opts)
|
||||
{
|
||||
opts.PropertyNamingPolicy = new JsonSnakeCaseNamingPolicy();
|
||||
opts.NumberHandling = JsonNumberHandling.AllowReadingFromString;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue