Package io.fusionauth.jwt.json
Class Mapper
java.lang.Object
io.fusionauth.jwt.json.Mapper
Serialize and de-serialize JWT header and payload.
- Author:
- Daniel DeGroff
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Tdeserialize(byte[] bytes, Class<T> type) static <T> Tdeserialize(InputStream is, Class<T> type) static byte[]prettyPrint(Object object) static byte[]
-
Constructor Details
-
Mapper
public Mapper()
-
-
Method Details
-
deserialize
- Throws:
InvalidJWTException
-
deserialize
- Throws:
InvalidJWTException
-
prettyPrint
- Throws:
InvalidJWTException
-
serialize
- Throws:
InvalidJWTException
-