Package org.jobrunr.utils.mapper
Interface JsonMapper
-
- All Known Implementing Classes:
GsonJsonMapper
,JacksonJsonMapper
,JsonbJsonMapper
public interface JsonMapper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
deserialize(java.lang.String serializedObjectAsString, java.lang.Class<T> clazz)
void
serialize(java.io.OutputStream outputStream, java.lang.Object object)
void
serialize(java.io.Writer writer, java.lang.Object object)
java.lang.String
serialize(java.lang.Object object)
-
-
-
Method Detail
-
serialize
java.lang.String serialize(java.lang.Object object)
-
serialize
void serialize(java.io.Writer writer, java.lang.Object object)
-
serialize
void serialize(java.io.OutputStream outputStream, java.lang.Object object)
-
deserialize
<T> T deserialize(java.lang.String serializedObjectAsString, java.lang.Class<T> clazz)
-
-