public interface Serializer
| Modifier and Type | Method and Description |
|---|---|
static Serializer |
getDefault() |
<T> T |
readValue(byte[] bytes,
Class<T> type) |
<T> T |
readValue(String s,
Class<T> type) |
String |
writeValueAsString(Object o) |
<T> T readValue(String s, Class<T> type) throws IOException
IOException<T> T readValue(byte[] bytes,
Class<T> type)
throws IOException
IOExceptionString writeValueAsString(Object o) throws IOException
IOExceptionstatic Serializer getDefault()
Copyright © 2016–2024. All rights reserved.