1. Paste the json content and the JavaBean class name and package name to automatically generate JavaBean code, with the source code available for direct packaged download
2, Supports generating Javabean entity classes from Json strings in any complex or simple format
3. Provides JSON format error hints and refuses to format non-conforming JSON strings, ensuring the accuracy of JavaBean entity classes
4. If your Json field contains a system keyword and the field name cannot be changed freely, you can use a Gson annotation to give it an alias:@serializableNameto solve this problem. Below is a before and after comparison:
private List< Default > default;
@SerializedName("default")
private List< Default > mdefault;
This tool belongs to the “JSON tools” category.
Your input is processed locally in the browser whenever possible. We do not store it.
Almost always unquoted keys, single quotes, a trailing comma or an inline comment. The JSON standard allows none of those.
Parsing runs synchronously in the browser, so a few megabytes are fine. For larger files use the compact view or a local tool.
The URL must be publicly reachable and must not require a login. Anti-hotlinking or same-origin rules will block the request.