Package com.oracle.bmc.http.client
Interface Serializer
-
public interface Serializer
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static SerializergetDefault()<T> TreadValue(byte[] bytes, Class<T> type)<T> TreadValue(String s, Class<T> type)StringwriteValueAsString(Object o)
-
-
-
Method Detail
-
readValue
<T> T readValue(String s, Class<T> type) throws IOException
- Throws:
IOException
-
readValue
<T> T readValue(byte[] bytes, Class<T> type) throws IOException- Throws:
IOException
-
writeValueAsString
String writeValueAsString(Object o) throws IOException
- Throws:
IOException
-
getDefault
static Serializer getDefault()
-
-