Package wrsp.data.serialization
Class DataMapper
java.lang.Object
wrsp.data.serialization.DataMapper
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectMapperstatic <T> Tread(InputStream inputStream, Class<T> tClass) static <T> voidwrite(OutputStream outputStream, T objectToWrite)
-
Method Details
-
write
- Throws:
IOException
-
read
- Throws:
IOException
-
getMapper
public static com.fasterxml.jackson.databind.ObjectMapper getMapper()
-