JSON to TypeScript
Convert JSON objects to TypeScript interfaces instantly. Handles nested objects and arrays.
interface Root {
id: number;
name: string;
email: string;
address: Address;
tags: string[];
projects: ProjectsItem[];
}
interface ProjectsItem {
name: string;
status: string;
stars: number;
}
interface Address {
street: string;
city: string;
zip: string;
}