Deserialize json character as enumeration

前端 未结 0 1832
栀梦
栀梦 2021-02-11 20:14

I have an enumeration defined with C#, where I\'m storing it\'s values as characters, like this:

public enum CardType
{
    Artist = \'A\',
    Contemporary = \'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题