title: Parsing JSON with Kotlin JS 'fun <T> parse(text: String): T`?
body: <p>How can I use </p>
  
  <p><code>fun &lt;T&gt; parse(text: String): T</code></p>
  
  <p>to parse JSON in Kotlin JS?</p>
  
  <p>e.g. how can I parse this JSON string?</p>
  
  <pre><code>{
  "couchdb": "Welcome",
  "version": "2.0.0",
  "vendor": {
      "name": "The Apache Software Foundation"
  }
  }
  </code></pre>