About json to er diagram
Paste a JSON sample and get an ER diagram showing its entities and how they relate.
How it is inferred
Nested objects become entities, and arrays become one-to-many relationships. It is a quick way to understand an unfamiliar API response.
A worked example
A JSON order with a customer object and a list of items becomes three boxes, ORDER, CUSTOMER and ITEM, with lines showing that an order has one customer and many items. It is a fast way to understand a large API response.
Limits
- A single sample cannot show every optional field.
- Names are guessed from the keys, so rename them as needed.
- Use several samples if the structure varies.
Use for design review
Share the diagram with your team to agree on names and relationships, before writing the database schema for the data.
