。。。懂?
以下教程基于Mac下的Android studio
搜索“JsonToKotlin” 点击安装,安装完成后会要求IDE重启。
JsonToKotlin
文件页面会弹出下图选择
填入JSON和类名 点击“Generate”
Generate