JSON formatter

Pretty:

{
    "name": "Kt. Academy",
    "mission": {
        "primary": "Teach programming",
        "secondary": [
            "Help developers",
            "Promote best practices"
        ]
    }
}

TypeScript definition:

type YourClass = {
  name: string
  mission: {
    primary: string
    secondary: string[]
  }
}

Kotlin definition:

class YourClass(
  val name: String,
  val mission: Mission
)

class Mission(
  val primary: String,
  val secondary: List<String>
)
Feedback