Pro EP 97 : JSON Naming Policy Updates .NET 8
Published in
Dec 25, 2023
JsonNamingPolicy includes new naming policies for snake_case (with an underscore) and kebab-case (with a hyphen) property name conversions.
Previously we had only one naming policies in Json Options for System.Text.Json :
1) Camel Case
With new changes of .NET 8 we have four more in the list now :
- kebab-case-lower
- KEBAB-CASE-UPPER
- snake_case_lower
- SNAKE_CASE_UPPER
Whenever you’re ready, there are 4 ways I can help you
- Subscribe to my Weekly .NET Newsletter of C#/.NET with 8000+ Software Engineers.
- Promote yourself to 8000+ subscribers by Sponsoring my Newsletter
- Download my eBook at Gum Road which contains 30+ .NET Tips (With 2800+ Downloads)
- To get 100+ free and paid resources for learning C# and .NET visit this GitHub Repository