Packages

class SingletonCodec[T <: Singleton] extends ErrorReportingCodec[T] with OOOFieldsObjectCodec[T]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SingletonCodec
  2. OOOFieldsObjectCodec
  3. ObjectCodec
  4. NullSafeCodec
  5. GenObjectCodec
  6. ErrorReportingCodec
  7. GenCodec
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SingletonCodec(typeRepr: String, singletonValue: ⇒ T)

Value Members

  1. final def nullable: Boolean
    Definition Classes
    SingletonCodecNullSafeCodec
  2. final def read(input: Input): T

    Deserializes a value of type T from an Input.

    Deserializes a value of type T from an Input.

    Definition Classes
    NullSafeCodecGenCodec
  3. final def readNonNull(input: Input): T
    Definition Classes
    ObjectCodecNullSafeCodec
  4. final def readObject(input: ObjectInput, outOfOrderFields: FieldValues): T
    Definition Classes
    SingletonCodecOOOFieldsObjectCodec
  5. final def readObject(input: ObjectInput): T
  6. final def transform[U](onWrite: (U) ⇒ T, onRead: (T) ⇒ U): GenCodec[U]

    Transforms this codec into a codec of other type using a bidirectional conversion between the original and new type.

    Transforms this codec into a codec of other type using a bidirectional conversion between the original and new type.

    Definition Classes
    GenCodec
  7. final def write(output: Output, value: T): Unit

    Serializes a value of type T into an Output.

    Serializes a value of type T into an Output.

    Definition Classes
    NullSafeCodecGenCodec
  8. final def writeNonNull(output: Output, value: T): Unit
    Definition Classes
    ObjectCodecNullSafeCodec
  9. def writeObject(output: ObjectOutput, value: T): Unit
    Definition Classes
    SingletonCodecObjectCodecGenObjectCodec