JSON input
Paste JSON, optionally name the root type, then generate.
Your Java record code will appear here.
Convert JSON into concise Java records. Immutable data carriers with inferred component types, nested records, and List fields in one line each.
Paste JSON, optionally name the root type, then generate.
Your Java record code will appear here.
Records strip the getter and setter boilerplate down to a single declaration line. The generator maps each JSON object level to a record, so a whole API response becomes a handful of readable lines.
Record components are final, which means parsed API data cannot be accidentally mutated downstream. For read heavy integrations this is a feature, not a limitation.