Giter Site home page Giter Site logo

gsonformat's Introduction

写在前头:本插件只适用 android studio和 Intellij IDEA 工具,eclipse 的少年无视我吧!!!

这是一个根据JSONObject格式的字符串,自动生成实体类参数.

github

jetbrains

Android Arsenal

swift 版;

Json 新视觉

###写在前头:本插件只适用 android studio和 Intellij IDEA 工具!!!

##版本说明

v1.2.2 (English)

  1. 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 (中文)

  1. 支持 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 .

##打开方法

  1. 使用Generate的快捷键.
    快捷键:图中选中的部分
    Generate快捷键.png
  • 使用 GsonFommat 的快捷键.
    默认 option + s (mac), alt + s (win) 通过以下方式修改快捷键: 修改快捷键.png

#使用截图 #

gsonFormat.gif

gsonformat's People

Contributors

zzz40500 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.