JSON to TypeScript

export interface Address {
  city: string;
  zip: string;
}

export interface RootObject {
  name: string;
  age: number;
  address: Address;
}

Introduction to the tool

This tool is an online tool for converting JSON strings to TypeScript interface definitions.