← ZIO SQS docs

Serializer

zio.sqs.serialization.Serializer
See theSerializer companion object
trait Serializer[A]

A type class to convert a value of type A to a String value.

Attributes

Companion
object
Source
Serializer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Abstract methods

def apply(a: A): String

Converts a value to the string that is sent as the SQS message body.

Converts a value to the string that is sent as the SQS message body.

Attributes

Source
Serializer.scala

Concrete methods

final def contramap[B](f: B => A): Serializer[B]

Creates a new Serializer by applying a function to value of type B before serializing as an A.

Creates a new Serializer by applying a function to value of type B before serializing as an A.

Attributes

Source
Serializer.scala