Encoder

smithy4s.codecs.Encoder
See theEncoder companion trait
object Encoder

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Encoder.type

Members list

Type members

Types

type CachedCompiler[Message] = CachedSchemaCompiler[[_] =>> Encoder[Message, _$1]]

Value members

Concrete methods

def andThenK[Out, Out0](f: Out => Out0): PolyFunction[[_] =>> Encoder[Out, _$2], [_] =>> Encoder[Out0, _$3]]

Lifts an Output transformation as a higher-kinded function that operates on encoders.

Lifts an Output transformation as a higher-kinded function that operates on encoders.

Attributes

def lift[A, Out](f: A => Out): Encoder[Out, A]

Creates an encoder from a function.

Creates an encoder from a function.

Attributes

def pipeToWriterK[Message, Out](other: Writer[Message, Out]): PolyFunction[[_] =>> Encoder[Out, _$6], [_] =>> Writer[Message, _$7]]

Lifts an piping transformation that connects the result of an encoder to the message channel of a writer.

Lifts an piping transformation that connects the result of an encoder to the message channel of a writer.

Attributes

def static[Out](out: Out): Encoder[Out, Any]

Creates an encoder from a static output.

Creates an encoder from a static output.

Attributes

Implicits

Implicits

implicit def encoderEncoderK[In, Out]: EncoderK[[_] =>> Encoder[Out, _$12], Out]