public interface Serializer
| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserialize(Class<T> cls,
String contentType,
InputStream in) |
Map<String,Object> |
properties(Object o,
String contentType)
Returns the properties of object.
|
default byte[] |
serialize(Object o,
String contentType) |
void |
serialize(Object o,
String contentType,
OutputStream out) |
void serialize(Object o, String contentType, OutputStream out)
<T> T deserialize(Class<T> cls, String contentType, InputStream in)
Map<String,Object> properties(Object o, String contentType)
JsonNode).in - inputCopyright © 2023. All rights reserved.