Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Codec<V>

A codec converts untyped JSON to a typed object.

Type parameters

  • V

Hierarchy

  • Codec

Index

Properties

Properties

Readonly decode

decode: (x: any, c?: Context) => V

Decode untyped JSON to an object of type [[V]].

Type declaration

    • Parameters

      Returns V

Generated using TypeDoc