Android中将json数据快速生成Java bean的工具

一.工具1:GsonFormat

1.File->Setting->Plugins->Marketplace->搜索GsonFormat,安装,点击ok即可。

2.新建一个bean类,然后在bean类里右键选择generater,然后选择GsonFormat即可。

3.将json文件复制到里面,点击ok即可。

猜你喜欢

转载自blog.csdn.net/xiaokang666/article/details/130938878