Closed huyabin closed 4 years ago
如果json返回来的是个数组怎么整?才开始用swift,希望多多指导
传[Model].self就可以了
是否支持字典和数组直接转model?
没太明白你的意思,建议先了解一下Codable的用法。
如果json返回来的是个数组怎么整?才开始用swift,希望多多指导