Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FancyJsonSerializer

Hierarchy

  • FancyJsonSerializer

Index

Methods

Static deserialize

  • deserialize(json: string): any
  • Parameters

    • json: string

    Returns any

Static getClassSerializer

  • Parameters

    Returns undefined | IClassSerializer<any, any>

Static hasClassSerializer

  • hasClassSerializer(cls: Class<any>): boolean
  • Parameters

    Returns boolean

Static registerClassSerializer

  • Type parameters

    • T

    • S

    Parameters

    Returns void

Static serialize

  • serialize(obj: any, pretty?: boolean): string
  • Parameters

    • obj: any
    • Default value pretty: boolean = false

    Returns string

Generated using TypeDoc