1, paste the json content, the class name and package name of Javabean can automatically generate JavaBean code, and can directly package and download the source code
2, support any complex/simple format Json string generates Javabean entity class
3, provides Json format error prompt, will not format non-standard Json string, and ensures the accuracy of Javabean entity class
4 , If your Json field contains system keywords and you cannot modify the field name at will, you can refer to the use of annotations in Gson to create an alias: @serializableName
to solve this problem. The following is a before and after comparison:
private List< Default > default;
@SerializedName("default")
private List< Default > mdefault;
Friend Link: 沐杉软件