Packages

trait GenKeyCodec[T] extends AnyRef

Typeclass which implements two-directional conversion between values of some type and field names used in ObjectOutput.writeField and ObjectInput.nextField (FieldInput.fieldName). Every type which has a natural, unambiguous string representation should have a GenKeyCodec.

Annotations
@implicitNotFound( "No GenKeyCodec found for ${T}" )
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GenKeyCodec
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def read(key: String): T
  2. abstract def write(value: T): String

Concrete Value Members

  1. final def transform[U](onWrite: (U) ⇒ T, onRead: (T) ⇒ U): GenKeyCodec[U]