public class DefaultSerializer extends Object implements Serializer
| Constructor and Description |
|---|
DefaultSerializer(com.fasterxml.jackson.databind.ObjectMapper m) |
| 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.
|
void |
serialize(Object o,
String contentType,
OutputStream out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitserializepublic DefaultSerializer(com.fasterxml.jackson.databind.ObjectMapper m)
public void serialize(Object o, String contentType, OutputStream out)
serialize in interface Serializerpublic <T> T deserialize(Class<T> cls, String contentType, InputStream in)
deserialize in interface Serializerpublic Map<String,Object> properties(Object o, String contentType)
SerializerJsonNode).properties in interface SerializerCopyright © 2023. All rights reserved.