JSON to Code

Generate TypeScript, Go, Python or Java types from a JSON sample.

— views
Nested objects become their own type named after the key.
A whole API response works too
Generated code
TypeScript

About JSON to Code

Generate TypeScript, Go, Python or Java types from a JSON sample.

The work happens in your browser: what you paste is never sent to a server, and no account is needed.

Comments

Loading comments…