StringEncoder

kantan.codecs.strings.StringEncoder

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def apply[D](implicit ev: Encoder[String, D, codecs.type]): Encoder[String, D, codecs.type]

Summons an implicit instance of Encoder if one is found, fails compilation otherwise.

Summons an implicit instance of Encoder if one is found, fails compilation otherwise.

This is a slightly faster, less verbose version of implicitly.

Attributes

Inherited from:
EncoderCompanion
def dateEncoder(format: DateFormat): StringEncoder[Date]

Attributes

Inherited from:
PlatformSpecificEncoders
def from[D](f: D => String): Encoder[String, D, codecs.type]

Creates a new instance of Encoder from the specified function.

Creates a new instance of Encoder from the specified function.

Attributes

Inherited from:
EncoderCompanion