Companion

object Companion

Functions

Link copied to clipboard
fun of(version: Int, schemaFingerprint: String, state: JsonNode): PublishedState

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

Link copied to clipboard
fun ofText(version: Int, schemaFingerprint: String, text: String): PublishedState

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