找到gsonformat
发现不能安装,但能点击openSource进入写这个东西的人的人github的项目页面https://github.com/zzz40500/GsonFormat
点击README也就是这个页面
https://github.com/zzz40500/GsonFormat/blob/master/README_CN.md
点击下载
https://plugins.jetbrains.com/plugin/7654-gsonformat
一般下载最新的就好了(不解释,我就是喜欢用最新的)
保存
回到androidstudio plugins 选择本地安装
选择刚下载的包
就能安装了
然后apply 然后重启androidstudio就好了
新建类
弹出窗口
将json串粘贴到输入框
搞定