Model REST responses
Create a starting set of Java records for an external or internal API.
Generate tool
Generate Java records from sample JSON in your browser, including nested objects and list types.
Your input and result are not sent to JSON Hearth or stored on a server.
When to use it
Java generation turns representative JSON into a readable group of records that can be adapted for deserialization and application models.
Create a starting set of Java records for an external or internal API.
Translate JSON examples into typed structures for unit and integration tests.
Make relationships between objects and lists visible in Java source form.
Important limitations
Common questions
It generates Java records as a concise starting representation of the sample data.
Library conventions differ. Add annotations or naming configuration required by Jackson, Gson or your chosen framework.