package serialization
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- 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.""")
- final case class FailedToDecode(cause: Throwable) extends Exception with Product with Serializable