salomonbrys
06/22/2016, 2:59 PMval 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.context.serialize(it.src.verfiyingKey)
)
}