![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Kotlin
qq_35291364
这个作者很懒,什么都没留下…
展开
-
Kotlin实体类字段使用is开头出现问题
Kotlin实体类字段使用is开头默认是Boolen类型,设置其他类型无效, 使用isNew设置为Int或者String时,网络请求Json参数没有 class Header() : Serializable { var isNew = 1 var sessionId: String? = null var msgType: String? = "0" var ...原创 2020-02-29 10:44:55 · 1018 阅读 · 0 评论 -
Kotlin使用fastjson报错 com.alibaba.fastjson.JSONException: default constructor not found
实体类添加空的构造函数 constructor() 如果还是报错,将fastjson的版本降为1.2.32 implementation 'com.alibaba:fastjson:1.2.32'原创 2019-08-05 16:27:28 · 1001 阅读 · 0 评论