Json To Java Class MCP tool
findutils:json_to_java_class Generate Java POJO class source code from a JSON object. Nested objects become separate classes, arrays become List<T>, and you can choose Lombok @Data, getters/setters, or public fields.
Arguments
application/json-
json
string required
JSON object to convert (the root must be an object).
-
class_name
string optional
Name of the root class. Default: "Root". Default
"Root". -
package_name
string optional
Java package name, e.g. "com.example". Empty string omits the package line. Default: "com.example". Default
"com.example". -
use_lombok
boolean optional
Add the Lombok @Data annotation and import instead of explicit getters/setters. Default: false. Default
false. -
generate_getters_setters
boolean optional
Generate getters and setters (ignored when use_lombok or use_public_fields is true). Default: true. Default
true. -
use_public_fields
boolean optional
Declare fields as public instead of private. Default: false. Default
false.
Example arguments
Verified{
"json": {
"id": 1,
"name": "John",
"skills": [
"Java"
],
"address": {
"city": "NY"
}
}
} More Data tools
- Api Docs Generator Return API documentation generated from a list of endpoints, as Markdown (with table of contents, request/response examples)…
- Bookmarks Html To Csv Convert a browser bookmarks.html export from Chrome, Firefox, Edge, Safari or any other browser that writes the Netscape bookmark format…
- Bookmarks Json To Html Convert a bookmarks JSON file into a Netscape bookmarks.html that Chrome, Firefox, Edge and Safari import.
- Csv Dedupe Remove duplicate rows from a CSV or TSV table.
- Csv Diff Compare two CSV or TSV tables by key column and list the rows that were added, removed or changed - a table diff, not a line diff, so rows…
- Csv To Bookmarks Html Convert a CSV of links into a Netscape bookmarks.html file that Chrome, Firefox, Edge and Safari import.