ardalis/SmartEnum

Support ReadAsPropertyName and WriteAsPropertyName in System.Text.Json support

Open

#242 opened on Mar 9, 2022

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C# (185 forks)github user discovery
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (2,420 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

ReadAsPropertyName and WriteAsPropertyName are virtual methods on JsonConverter used to support custom key types for dictionary serialization, and currently throw an exception in the case of smartenums

Contributor guide