会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
grax
博客园
首页
新随笔
联系
订阅
管理
2020年8月5日
.Net Newtonsoft.Json 转json时将枚举转为字符串
摘要: 1:非列表类型枚举 [JsonConverter(typeof(StringEnumConverter))] public SubjectTypeEnum subject_type { get; set; } = SubjectTypeEnum.SUBJECT_TYPE_ENTERPRISE; 2:
阅读全文
posted @ 2020-08-05 18:15 grax
阅读(560)
评论(0)
推荐(0)
编辑
公告