fromJson(jsonStr,MyClass.class);但是我的对象是一个声明为valeffectList = arrayListOf (...)> 答案. 您需要使用 TypeToken 。像这样: import com ...
確定! 回上一頁