Methods
Static
deserialize
- deserialize(json: string): any
-
Returns any
Static
getClassSerializer
- getClassSerializer(cls: Class<any, any[]>): undefined | IClassSerializer<any, any>
-
Returns undefined | IClassSerializer<any, any>
Static
hasClassSerializer
- hasClassSerializer(cls: Class<any, any[]>): boolean
-
Returns boolean
Static
registerClassSerializer
- registerClassSerializer<T, S>(cls: Class<T, any[]>, classSerializer: IClassSerializer<T, S>): void
-
Parameters
-
cls: Class<T, any[]>
-
classSerializer: IClassSerializer<T, S>
Returns void
Static
serialize
- serialize(obj: any, pretty?: boolean): string
-
Parameters
-
obj: any
-
pretty: boolean = false
Returns string