toProtocol

fun toProtocol(json: Json): Event

Serialize args into a JSON model using serializationStrategies into an Event.