public class Mapper extends Object
Constructor and Description |
---|
Mapper() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
deserialize(byte[] bytes,
Class<T> type) |
static <T> T |
deserialize(InputStream is,
Class<T> type) |
static byte[] |
prettyPrint(Object object) |
static byte[] |
serialize(Object object) |
public static <T> T deserialize(byte[] bytes, Class<T> type) throws InvalidJWTException
InvalidJWTException
public static <T> T deserialize(InputStream is, Class<T> type) throws InvalidJWTException
InvalidJWTException
public static byte[] prettyPrint(Object object) throws InvalidJWTException
InvalidJWTException
public static byte[] serialize(Object object) throws InvalidJWTException
InvalidJWTException
Copyright © 2021. All rights reserved.