<@U0B8ZP13Q> I need to receive a JsonRpc 2.0 answe...
# klaxon
d
@cedric I need to receive a JsonRpc 2.0 answer and then as a second step parse the content of the result or error element... Is there a way to get the json in the
error
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")