© 2026 Hedgehog Software, LLC
[JsonSourceGenerationOptions(UseStringEnumConverter = true, PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase)] [JsonSerializable(typeof(RedirectType))] public partial class EnumToStringJsonContext : JsonSerializerContext;
public class CamelCaseEnumConverter<TEnum>() : JsonStringEnumConverter<TEnum>(JsonNamingPolicy.CamelCase) where TEnum : struct, Enum; [JsonSourceGenerationOptions( UseStringEnumConverter = true, Converters = [ typeof(CamelCaseEnumConverter<RedirectType>) ]), JsonSerializable(typeof(RedirectType)) ] public partial class EnumToStringJsonContext : JsonSerializerContext;