title: Kotlin - Parse JSON
body: <p>I have a json string with 2 keys <code>error</code> and <code>user</code>. First I want to check if <code>error</code> is not <code>false</code> and get the values from <code>user</code>.</p>
  
  <p>Here is the Json String:</p>
  
  <pre><code>{
      "error": false,
      "user": {
          "id": 26,
          "name": "Someone",
          "email": "someone@gmail.com",
          "aktif": 1
      }
  }
  </code></pre>
  
  <p>How can I achieve this ?</p>