Package jrpc.service.converters
Interface IConverter
-
- All Known Implementing Classes:
JsonConverter
public interface IConverter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
deserialization(java.io.InputStream inputStream, java.lang.reflect.Type type)
java.lang.Object
deserialization(java.lang.String jsonForm, java.lang.reflect.Type type)
java.lang.String
serialization(java.lang.Object o)
-
-
-
Method Detail
-
serialization
java.lang.String serialization(java.lang.Object o)
-
deserialization
java.lang.Object deserialization(java.io.InputStream inputStream, java.lang.reflect.Type type) throws ServiceException
- Throws:
ServiceException
-
deserialization
java.lang.Object deserialization(java.lang.String jsonForm, java.lang.reflect.Type type) throws ServiceException
- Throws:
ServiceException
-
-