Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultConverter<T>

Type parameters

  • T

Hierarchy

Index

Properties

Static type

type: Type = Types.Any

Methods

canConvertFrom

  • canConvertFrom(srcType: Type): boolean

canStringify

  • canStringify(): boolean

convertFrom

  • convertFrom(obj: any, srcType: Type): any

convertFromSuperType

  • convertFromSuperType(obj: any): any

deserialize

  • deserialize(obj: any): any

fromString

  • fromString(str: string): T | never

inferInstanceOf

  • inferInstanceOf(obj: any): number

isValid

  • isValid(obj: any): boolean

serialize

  • serialize(obj: any): any

toString

  • toString(obj: T): string

tryFromString

  • tryFromString(str: string): T | null

Generated using TypeDoc