JSON Toolkit

Format, minify, and validate JSON, then generate TypeScript types from it.

Valid JSON
TypeScript types
interface Root {
  name: string
  active: boolean
  roles: string[]
  profile: Profile
  projects: Project[]
}

interface Profile {
  city: string
  followers: number
  links: Links
}

interface Links {
  site: string
  github: null
}

interface Project {
  title: string
  stars: number
}