public interface ISerializer
| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserializeObject(java.lang.String inputString,
java.lang.Class<T> clazz)
Deserialize an object from the input string
|
<T> T |
deserializeObject(java.lang.String inputString,
java.lang.Class<T> clazz,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders)
Deserialize an object from the input string
|
<T> java.lang.String |
serializeObject(T serializableObject)
Serializes an object into a string
|
<T> T deserializeObject(java.lang.String inputString,
java.lang.Class<T> clazz)
T - the type of the item to be deserializedinputString - the string that stores the representation of the itemclazz - the .class of the item to be deserialized<T> T deserializeObject(java.lang.String inputString,
java.lang.Class<T> clazz,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> responseHeaders)
T - the type of the item to be deserializedinputString - the string that stores the representation of the itemclazz - the .class of the item to be deserializedresponseHeaders - the HTTP response headers<T> java.lang.String serializeObject(T serializableObject)
T - the type of the item to be serializedserializableObject - the object to convert into a string