Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Serializable<T>

Interface for companion objects of serializable types. Its main purpose is to describe the JSON encoding of values of the serializable type.

Type parameters

  • T

    The template type.

Hierarchy

Implemented by

Index

Properties

Properties

decoder

decoder: () => jtv.Decoder<T>

The decoder for a contract of template T.

NB: This is a function to allow for mutually recursive decoders.

Type declaration

    • (): jtv.Decoder<T>
    • Returns jtv.Decoder<T>

Generated using TypeDoc