Package

ml.combust.bundle.serializer

custom

Permalink

package custom

Visibility
  1. Public
  2. All

Type Members

  1. case class CustomBytesSerializer[T](ct: CustomType[T]) extends CustomSerializer[T] with Product with Serializable

    Permalink

    Class for serializing a custom object to/from a byte array.

    Class for serializing a custom object to/from a byte array.

    T

    Scala class for custom type

    ct

    custom type type class

  2. case class CustomJsonSerializer[T](ct: CustomType[T]) extends CustomSerializer[T] with Product with Serializable

    Permalink

    Class for serializing a custom object to JSON.

    Class for serializing a custom object to JSON.

    T

    custom type Scala class

    ct

    custom type type class

  3. trait CustomSerializer[T] extends AnyRef

    Permalink

    Trait for a custom object serializer.

    Trait for a custom object serializer.

    T

    Scala class of custom object to serialize

  4. trait CustomType[T] extends AnyRef

    Permalink

    Type class for a custom object.

    Type class for a custom object.

    Custom objects can be serialized in an ml.combust.bundle.dsl.AttributeList as an ml.combust.bundle.dsl.Value. They must provide a JSON serialization as well as a compact byte representation.

    T

    Scala class of custom type

Ungrouped