Class: Package:
Please paste the Json code to generate JavaBean

Json string into Java entity class-Json generate JavaBean code tool

1.paste the json content, Javabean class name, package name can automatically generate JavaBean code, and can be directly packaged to download the source code
2, support for generating Json strings of arbitrary complex / simple format into Javabean entity classes
3.Provide Json format error prompts, will not format Json strings that do not conform to specifications, ensuring the accuracy of Javabean entity classes
4.if your Json field contains system keywords, and you cannot modify the field name at will,                      You can refer to the individual names using the annotations in Gson: @serializableName to solve this problem. The following is a comparison before and after use:

private List< Default > default;


private List< Default > mdefault;

Online tool navigation