StringDecoder

object StringDecoder extends Decoder[String]

A Decoder for Strings that pattern matches on the incoming type to decode.

A Decoder for Strings that pattern matches on the incoming type to decode.

The schema is not used, meaning this decoder is forgiving of types that do not conform to the schema, but are nevertheless useable.

trait Decoder[String]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def decode(schema: Schema): Any => String
Definition Classes

Inherited methods

final def map[U](f: String => U): Decoder[U]
Inherited from
Decoder