ofText

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.