1.Input JSON content, specify the JavaBean class name and package name, and the tool will automatically generate JavaBean code with direct download of the source code.
2.Converts JSON strings (any complexity) to JavaBean entities automatically.
3.Provides JSON syntax error diagnostics, does not attempt to reformat non-compliant JSON strings, ensuring JavaBean entity class data integrity.
4.When JSON field names conflict with language keywords and renaming is restricted, the solution is to leverage Gson's @SerializedName annotation to alias the fields:@serializableName
Resolve this issue. Below is a before/after comparison:
private List< Default > default;
@SerializedName("default")
private List< Default > mdefault;
Links: Developer Tools