跳转到正文
TS

JSON to TypeScript

Infer TypeScript interfaces from a JSON sample.

interface Root {
  name: string;
  version: number;
  tags: string[];
  meta: {
    ok: boolean;
  };
}

关于JSON to TypeScript

Infer TypeScript interfaces from a JSON sample. Everything runs in your browser.

使用方法

  1. Paste JSON
  2. Review types
  3. Copy

常见问题

Free?

Yes.

Uploaded?

No.