paste json · generate typescript interfaces · go structs · rust structs · python dataclasses
export interface Profile {
bio: string;
avatar?: null;
}
export interface User {
id: number;
name: string;
email: string;
active: boolean;
roles: string[];
profile: Profile;
}
export interface Root {
user: User;
}