技术坑
Android使用fastjson报错Attempt to get length of null array
mtsym 发表于2020-04-24 浏览8788 评论0
一个Android项目加了一个kotlin的类,在parse的时候,一开始报错
com.alibaba.fastjson.JSONException: default constructor not found使用注解增加了一个默认函数
@JSONCreator constructor() : this("", "") { }