toOneLiner

fun <T : ERROR CLASS: Symbol not found for Message<T, *>> ERROR CLASS: Symbol not found for ProtoAdapter<T>.toOneLiner(message: T): String(source)

Get a compact single-line string representation for JSON/API serialization.

Converts the proto message to a single-line format by replacing newlines. Useful for compact logging and API payloads.

Return

Single-line string representation

Parameters

message

The message to format