JSON解析工具插件 GsonFormat

码农软件 · 软件分类 · JSON/BSON开发包 · 2019-03-30 22:12:52

软件介绍

GsonFormat是一款根据Gson库使用的要求,将JSONObject格式的String 解析成实体的插件。这是一个根据JSONObject格式的字符串,自动生成实体类参数,本插件只适用 android studio和 Intellij IDEA 工具。

版本说明

v1.2.2 (English)

  • Support field type changes.

  • Support shortcut to open GsonFormat, default option + s (mac), alt + s (win)

  • Support for field name changes.

  • Support add the prefix field.

  • Support for multiple conversion library (Gson, Jackjson, FastJson, LoganSquare).

  • Support private and public modes.

  • Support Filter superclass an existing fields.

版本1.2.2 (中文)

  • 支持 field 类型的修改.

  • 支持快捷键打开 GsonFormat ,默认为 option+s(mac), alt+s(win)

  • 支持 field 名称的修改.

  • 支持添加 field 前缀.

  • 支持多种转换库 (Gson,Jackjson,FastJson,LoganSquare).

  • 支持 private 和 public 两种模式.

  • 支持过滤父类已有属性.

安装方法

方法1:

1.Android studio  
 File->Settings..->Plugins-->Browse repositores..搜索GsonFormat
2.安装插件,重启android studio

方法2: 下载地址

     1.下载 GsonFormat.jar ,
     2.Android studio  File->Settings..->Plugins -->
 install plugin from disk..导入下载的 GsonFormat.jar ,
     3重启 android studio .

打开方法

使用Generate的快捷键.

快捷键:图中选中的部分

Generate快捷键.png

使用 GsonFommat 的快捷键.
默认 option + s (mac), alt + s (mac) 通过以下方式修改快捷键:

修改快捷键.png

使用截图

gsonFormat.gif

本文地址:https://www.codercto.com/soft/d/2516.html

Bad Blood

Bad Blood

John Carreyrou / Knopf / 2018-5-21 / USD 27.95

The full inside story of the breathtaking rise and shocking collapse of Theranos, the multibillion-dollar biotech startup, by the prize-winning journalist who first broke the story and pursued it to t......一起来看看 《Bad Blood》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具