Short answer: paste the JSON, pick a language, copy the declarations. Nested objects become their own types; arrays merge their elements; invalid JSON is refused with the parser’s message.
What the generator decides for you
- Names —
customer_namebecomesCustomerNamein TypeScript and Go,customer_namein Python. - Arrays — one merged element type, not a union of every element.
- Numbers — integers stay
numberin TypeScript, becomeintin Go andfloatin Python.
What it will not invent
Optionals, unions, date formats and enums. Each of those needs a second sample or a spec, and guessing produces code that compiles and lies. If the payload has a real contract, write it as JSON Schema and check documents against it with theJSON Schema validator.