3637383940414243444546
.putNumber("uid", 0) .putNumber("iat", now) .putNumber("exp", now + 24*60*60*1000) .putArray("claims", new JsonArray().add("a").add("b")); String token = jwt.encode(json); assertTrue(!token.contains("\n")); JsonObject decoded = jwt.decode(token);