scalacache.serialization

Type members

Classlikes

@implicitNotFound(msg = "Could not find any Codecs for type ${A}.\nIf you would like to serialize values in a binary format, please import the binary codec:\n\nimport scalacache.serialization.binary._\n\nIf you would like to serialize values as JSON using circe, please import the circe codec\nand provide a circe Encoder[${A}] and Decoder[${A}], e.g.:\n\nimport scalacache.serialization.circe._\nimport io.circe.generic.auto._\n\nYou will need a dependency on the scalacache-circe module.\n\nSee the documentation for more details on codecs.")
trait Codec[A]

Represents a type class that needs to be implemented for serialization/deserialization to work.

Represents a type class that needs to be implemented for serialization/deserialization to work.

Companion
object
object Codec

For simple primitives, we provide lightweight Codecs for ease of use.

For simple primitives, we provide lightweight Codecs for ease of use.

Companion
class
final case class FailedToDecode(cause: Throwable) extends Exception