会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
孤夏
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
JSON
C# JSON的序列化与反序列化
摘要:需要添加引用:System.ServiceModel.Web 和 System.Runtime.Serialization,然后使用Using:
阅读全文
posted @
2017-09-28 12:23
孤夏
阅读(287)
评论(0)
推荐(0)
@JsonSerialize @JsonIgnoreProperties @JsonIgnore @JsonFormat
摘要:@JsonIgnoreProperties 此注解是类注解,作用是json序列化时将java bean中的一些属性忽略掉,序列化和反序列化都受影响。 @JsonIgnore 此注解用于属性或者方法上(最好是属性上),作用和上面的@JsonIgnoreProperties一样。 @JsonFormat
阅读全文
posted @
2017-03-22 09:30
孤夏
阅读(5006)
评论(0)
推荐(0)
公告