Created
March 4, 2021 09:45
-
-
Save maximgorbatyuk/f8a86fa3e3da8b156326c3ff989ea077 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Text.Json; | |
using Utils.Serialization; | |
namespace YourNamespace | |
{ | |
public class SnakeCaseNamingPolicy : JsonNamingPolicy | |
{ | |
public override string ConvertName(string name) => name.ToSnakeCase(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment