GsonFormatPlus
This is a plugin you can generate Json model from Json String. This Plugin is only for IntelliJ IDEA. which is base on GsonFormat and more flexible and convenient. Welcome to issue and PR.
- Using IDE built-in plugin system on Windows:
- File > Settings > Plugins > Browse repositories... > Search for "GsonFormatPlus" > Install Plugin
- Using IDE built-in plugin system on MacOs:
- Preferences > Settings > Plugins > Browse repositories... > Search for "GsonFormatPlus" > Install Plugin
- Manually:
- Download the latest release and install it manually using Preferences > Plugins > Install plugin from disk...
- From official jetbrains store from download
Restart IDE.
Default Option + s(Mac), Alt + s (win)
You can change the hotkey via:
SETTING
module | value | default | description |
---|---|---|---|
Convert Method | object/arrayFromData | false | Gson convert method |
Generate | virgo mode | true | virgo mode |
Generate | generate comments | false | generate comments |
Generate | split generate | false | split generate sub class |
Bean | reuse bean | false | TODO |
Field | name suffix | true | class suffix |
Field | field(private/public) | true | access level |
Field | name prefix | true | field name prefix |
Field | use serialized name | true | use serialized name |
Field | use wrapper class | true | use wrapper class,eq: int convert Integer |
Field | use lombok | true | use lombok replace Getter/Setter |
Field | use number key as map | true | use number key as map,TODO |
Convert library | jackson/fastjson | true | jackson/fastjson convert library |
1.5.5 by mars-men
- upload to jetbrain plugin center
1.5.2 by wangzejun
- support field comment
- support json5 format
1.5.1 by mars-men
- setting jackson annotation as default
- support lombok as option
- fix some bug
1.5.0 - 3 years ago by gsonformat
- fix several bug
- fix unlock setting window size
1.4.0
- New: Support for autovalue
- New: Support for lombok
- New: Support for split generate class
the end