Android使用fastjson报错Attempt to get length of null array

一个Android项目加了一个kotlin的类,在parse的时候,一开始报错com.alibaba.fastjson.JSONException:defaultconstructornotfound使用注解增加了一个默认函数@JSONCreatorconstructor():this("",""){}之后还是报错fastjsonJSONException:Attempttogetlengthofnullarray这个是因为我没有是用android版本的fastjs...

阅读全文

主机推荐

  • 搬瓦工

站点信息

  • 文章总数:644
  • 页面总数:1
  • 分类总数:11
  • 标签总数:2555
  • 评论总数:160
  • 浏览总数:2630053