JSON โ TypeScript
Generate TypeScript interfaces from a JSON sample
Inferred from sample
Input JSON
Output TypeScript
export interface Address {
city: string;
zip: string;
}
export interface Root {
id: number;
name: string;
email: string;
tags: string[];
address: Address;
}Verify outputs before using in production. No warranty โ see Terms.