美文网首页Android
Android Studio插件Gsonformat使用

Android Studio插件Gsonformat使用

作者: Picasso_L | 来源:发表于2016-01-22 09:45 被阅读1179次

在开发中,我们获得服务端的json数据后要建立自己的bean,但是一条一条写相当麻烦,偶然间发现了这么个插件,用起来非常方便。

安装
方法一:
1.Android studio File->Settings..->Plugins–>Browse repositores..搜索GsonFormat
2.安装插件,重启android studio
方法二:
1.下载GsonFormat.jar ;
2.Android studio File->Settings..->Plugins –>install plugin from disk..导入下载GsonFormat.jar
3.重启android studio

使用

参考文献:
推荐几款实用的Android Studio 插件

相关文章

网友评论

    本文标题:Android Studio插件Gsonformat使用

    本文链接:https://www.haomeiwen.com/subject/wmalkttx.html