ardalis/SmartEnum

Support ReadAsPropertyName and WriteAsPropertyName in System.Text.Json support

Aperta

#242 aperta il 9 mar 2022

 (3 commenti) (0 reazioni) (0 assegnatari)C# (185 fork)github user discovery
enhancementgood first issuehelp wanted

Metriche repository

Star
 (2420 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor