public class JWTTest
{
@Test
public void testJWT() throws Exception
{
JsonWebToken token = new JsonWebToken().id("123");
String json = JsonSerialization.toString(token, true);
System.out.println(json);
token = JsonSerialization.fromString(JsonWebToken.class, json);
System.out.println("id: " + token.getId());
}