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
InvalidJWTExceptionpublic static <T> T deserialize(InputStream is, Class<T> type) throws InvalidJWTException
InvalidJWTExceptionpublic static byte[] prettyPrint(Object object) throws InvalidJWTException
InvalidJWTExceptionpublic static byte[] serialize(Object object) throws InvalidJWTException
InvalidJWTExceptionCopyright © 2020. All rights reserved.