Json

data class Json(val value: List<JsonFormatRef>) : LoggingFormat

Constructors

Link copied to clipboard
constructor(value: List<JsonFormatRef>)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

Casts this LoggingFormat as a Json and retrieves its kotlin.collections.List value. Throws an exception if the LoggingFormat is not a Json.

Link copied to clipboard

Casts this LoggingFormat as a Json and retrieves its kotlin.collections.List value. Returns null if the LoggingFormat is not a Json.

Link copied to clipboard
fun asText(): String

Casts this LoggingFormat as a Text and retrieves its kotlin.String value. Throws an exception if the LoggingFormat is not a Text.

Link copied to clipboard

Casts this LoggingFormat as a Text and retrieves its kotlin.String value. Returns null if the LoggingFormat is not a Text.