ICode9

精准搜索请尝试: 精确搜索
  • LitJson报错记录2022-08-03 20:34:43

    1.float转double报错 报错类型: Max allowed object depth reached while trying to export from type System.Collections.Generic.List 序列化时候会遇到float和double互转问题; 注意这里double转float会导致精度丢失; 解决办法: JsonMapper.cs中添加几行代码; 2.Dictionary中key为

  • LitJson报错记录2022-08-03 14:04:26

    1.float转double报错 报错类型: Max allowed object depth reached while trying to export from type System.Collections.Generic.List 序列化时候会遇到float和double互转问题; 注意这里double转float会导致精度丢失; 解决办法: JsonMapper.cs中添加几行代码; 2.Dictionary中key为

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有