@AutoService(value=dev.paseto.jpaseto.io.Deserializer.class) public class GsonDeserializer<T> extends java.lang.Object implements Deserializer<T>
| Constructor and Description |
|---|
GsonDeserializer() |
GsonDeserializer(com.google.gson.Gson gson) |
| Modifier and Type | Method and Description |
|---|---|
T |
deserialize(byte[] bytes) |
protected T |
readValue(byte[] bytes) |
public GsonDeserializer()
public GsonDeserializer(com.google.gson.Gson gson)
public T deserialize(byte[] bytes) throws DeserializationException
deserialize in interface Deserializer<T>DeserializationExceptionprotected T readValue(byte[] bytes) throws java.io.IOException
java.io.IOExceptionCopyright © 2019-2021 paseto.dev. All Rights Reserved.