title: How can I decode JWT token in android?
body: <p>I have a <a href="https://jwt.io/" rel="noreferrer">jwt</a> token like this </p>
  
  <pre><code>eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ
  </code></pre>
  
  <p>How can I decode this so that I can get the payload like this </p>
  
  <pre><code>{
    "sub": "1234567890",
    "name": "John Doe",
    "admin": true
  }
  </code></pre>
  
  <p>I have used <a href="https://github.com/jwtk/jjwt" rel="noreferrer">this</a>  library , but can't find a way to do what I want </p>