and Third-party docking, The return to our JSON time parameter field is very common phenomenon, so we manually to create JavaBean is certainly to spend a lot of time, bloggers found many kinds of online, can be automatically generated by JSON JavaBean tools, Here's a quick introduction to the plugin Gsonformat in IntelliJ Idea.
1. What is Gsonformat
Converts the JSON data format to the JavaBean Object's as Plug-in.
2. Shortcut key ctrl+alt+s, or Settings-->plugins-and input Gsonformat install Plugins
Installation is complete, restart IntelliJ idea can, first need the new class file, and then press the key Alt+insert check gsonformat, or shortcut key alt+s, pop-up box input string data in JSON Format.
3, with Gson
<dependency> <groupId>com.google.code.gson</groupId> <artifactid>gson</ artifactid> <version>2.8. 0</version></dependency>
How to quickly build JavaBean objects from JSON (Intellij Idea-->gsonformat Tutorial)