Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseSerializer<TActual, TSerial>

A core Serializer implementation.

Type parameters

Hierarchy

Index

Constructors

constructor

  • new BaseSerializer<TActual, TSerial>(): BaseSerializer<TActual, TSerial>

Methods

decode

  • decode(serial: SerialPayload<TActual, TSerial>): Promise<TActual>

Protected Abstract decodeSerial

  • decodeSerial(serial: TSerial): Awaitable<TActual>

encode

  • encode(actual: TActual): Promise<SerialPayload<TActual, TSerial>>

Protected Abstract encodeActual

  • encodeActual(actual: TActual): Awaitable<TSerial>

Protected Abstract getName

  • getName(): string

Protected getRequest

Protected getSerialization

Protected make

  • make<T>(key: any): T

Abstract matchActual

  • matchActual(some: TActual): boolean

matchSerial

Extollo Logo

extollo (v. latin) - to lift up, to elevate

Extollo is a free & libre application framework in TypeScript.