How it works
The converter walks your JSON, creates one interface per object and names nested interfaces after their keys. Arrays become typed arrays, and mixed arrays become union types.
Frequently asked questions
Are optional fields detected?
Not yet. Every key found in the sample is marked required, so add ? by hand where a field can be missing.
Can I use the output directly?
Yes, but review it. Types are inferred from one sample, so more samples would give a safer type.