``` val voteSerializer = jsonSerializer<Vote&g...
# kotson
j
Copy code
val voteSerializer  = jsonSerializer<Vote> {
    jsonObject(
        "signature" to it.src.signature,
        "hash" to it.src.hash,
        "timestamp" to it.src.timestamp,
        "value" to it.src.value,
        "verifying_key" to it.src.verfiyingKey
    )
}