Options
All
  • Public
  • Public/Protected
  • All
Menu

Encoder class

Type parameters

  • T

Hierarchy

  • Parseus

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private model

Private Optional parser

Methods

decode

  • decode(json: object): T
  • Returns a decoded model instance with their fields populated

    Parameters

    • json: object

    Returns T

    model instance

encode

  • encode(obj: T): object

Static decode

Static encode

Static parseOverrride

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc