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
- Alphabetic
- By Inheritance
Inherited
- GenKeyCodec
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Concrete Value Members
- final def transform[U](onWrite: (U) ⇒ T, onRead: (T) ⇒ U): GenKeyCodec[U]