open fun toEncodedRpcMessage(mapper: ObjectMapper): Bytes
JsonProcessingException - if an error was thrown while marshalling to JSON
JsonProcessingException
Return The byte representation for the request after it is marshalled into a JSON string.