dave08
07/17/2018, 1:50 PMerror
and result
field to not be parsed (just put as is in the field), and then do a second parse on just one of them? Here's the def:
data class JsonRpcResponse(val id: Int, val result: String? = null, val error: String? = null, val jsonrpc:String = "2.0")