Packages

p

scalacache

serialization

package serialization

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package binary
  2. package gzip

Type Members

  1. trait Codec[A] extends AnyRef

    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.

    Annotations
    @implicitNotFound("""Could not find any Codecs for type ${A}.
    If you would like to serialize values in a binary format, please import the binary codec:

    import scalacache.serialization.binary._

    If you would like to serialize values as JSON using circe, please import the circe codec
    and provide a circe Encoder[${A}] and Decoder[${A}], e.g.:

    import scalacache.serialization.circe._
    import io.circe.generic.auto._

    You will need a dependency on the scalacache-circe module.

    See the documentation for more details on codecs."""
    )
  2. final case class FailedToDecode(cause: Throwable) extends Exception with Product with Serializable

Value Members

  1. object Codec

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

Ungrouped