mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
12 lines
271 B
C#
12 lines
271 B
C#
#nullable disable
|
|
using System.Text.Json;
|
|
|
|
namespace SystemTextJsonSamples;
|
|
|
|
public class LowerCaseNamingPolicy : JsonNamingPolicy
|
|
{
|
|
public static LowerCaseNamingPolicy Default = new();
|
|
|
|
public override string ConvertName(string name)
|
|
=> name.ToLower();
|
|
} |