1. Paste JSON content and enter the JavaBean class name and package name to automatically generate JavaBean code, with an option to download the source code directly.
2. Supports generating JavaBean classes from any complex or simple JSON string format.
3. Provides JSON format error prompts; it will not format non-compliant JSON strings, ensuring the accuracy of the JavaBean class.
4. If your JSON fields contain system keywords and you cannot modify the field names, consider using annotations in Gson to set an alias: @SerializedName
to solve this issue. See the comparison below before and after using it:
private List< Default > default;
@SerializedName("default")
private List< Default > mdefault;
© 2024 NoxToolbox