kantan.codecs

strings

package strings

Defines codecs for encoding to and decoding from strings.

These codecs are not necessary meant to use directly, but more as part of larger ones. kantan.csv, for example, works with CSV files but delegates the act of encoding to or decoding from a CSV cell to string codecs.

Default instances can be found in kantan.codecs.strings.codecs.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. strings
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed case class DecodeError(message: String) extends Error with Product with Serializable

  2. type StringCodec[A] = Codec[String, A, DecodeError, codecs.type]

    Codec for strings.

  3. type StringDecoder[A] = Decoder[String, A, DecodeError, codecs.type]

    Decoder for strings.

    Decoder for strings.

    Default instances can be found in codecs.

  4. type StringEncoder[A] = Encoder[String, A, codecs.type]

    Encoder for strings.

    Encoder for strings.

    Default instances can be found in codecs.

Value Members

  1. object DecodeError extends ErrorCompanion[DecodeError] with Serializable

  2. object StringCodec

    Provides instance creation methods.

  3. object StringDecoder extends DecoderCompanion[String, DecodeError, codecs.type]

    Provides instance creation and summing methods for StringDecoder.

  4. object StringEncoder

  5. object codecs

    Defines default instances for StringEncoder and StringDecoder.

Inherited from AnyRef

Inherited from Any

Ungrouped