Package io.moderne.jsonrpc.formatter
Interface MessageFormatter
- All Known Implementing Classes:
JsonMessageFormatter
public interface MessageFormatter
-
Method Summary
Modifier and TypeMethodDescription<T> TconvertValue(Object value, Type type) Converts a value (typically from JSON-RPC params or result) to the specified type.default Charsetvoidserialize(JsonRpcMessage message, OutputStream out)
-
Method Details
-
deserialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-
convertValue
Converts a value (typically from JSON-RPC params or result) to the specified type. -
getEncoding
-