JSON to Java Entity Class Generator, JSON to JavaBean Code Converter

1. Paste the JSON content, specify the class name and package name for the JavaBean, and the JavaBean code will be automatically generated. You can also directly package and download the source code.

2. Supports generating JavaBean entity classes from any complex or simple JSON string formats.

3. Provides JSON format error prompts and will not format non-compliant JSON strings, ensuring the accuracy of the JavaBean entity classes.

4. If your JSON fields contain system keywords and you cannot freely modify the field names, you can use annotations in Gson to alias them, such as @SerializedName, to solve this problem. Below is a comparison before and after using it:

private List<Default> default;

@SerializedName("default")

private List<Default> mdefault;