我是Kotlin的新手。我的第一个项目是使用rest。我已经用改装做过了。但是我在记录响应时遇到了问题,我的数据类为null。我不知道错误在哪里。我的Rerofit客户机 var retrofit: Retrofit?create(ApiLoginService::class.java)
我的类数据
data class DataLogi
我想用Kotlin手动解析JSON响应。因为我得到了复杂的JSON响应,它有一些公共字段。例如,我得到了下面的响应。. // Here comes some JSON with complex structure where some fields are
. // missing/omitted.And because of this I need to parse it manual