Package app.knock.api.serialize
Class Json
- java.lang.Object
-
- app.knock.api.serialize.Json
-
public class Json extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Json()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> TreadBytes(byte[] bytes, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)static <T> TreadBytes(byte[] bytes, java.lang.Class<T> clazz)static <T> byte[]writeBytes(T obj)static <T> java.lang.StringwriteString(T obj)
-
-
-
Method Detail
-
writeString
public static <T> java.lang.String writeString(T obj)
-
writeBytes
public static <T> byte[] writeBytes(T obj)
-
readBytes
public static <T> T readBytes(byte[] bytes, java.lang.Class<T> clazz)
-
readBytes
public static <T> T readBytes(byte[] bytes, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
-
-