C#-ifying classes pasted from JSON
When pasting JSON payloads, requests or response as C# classes, the casing of property names is not usually idiomatic C#. This regular expression helps transform the property names while adding System.Text.Json.JsonPropertyName attributes to properties to preserve the original names for serialization.
Submitted by Gareth James - 2 years ago