Companion

object Companion

Functions

Link copied to clipboard
fun of(name: String, revision: Int, body: JsonNode): StateEventPayload

A StateEventPayload of the given fields; parameters added later come last, with a default.

Link copied to clipboard

A StateEventPayload of the body's JSON text, the codec's own: a writer of the record writes it as it is, and body parses it on its first read.