Properties
createKnownTypesMap
createKnownTypesMap: ((knowTypes) => Map<string, Serializable<any>>) Protected
deserializationStrategy
Protected
errorHandler
errorHandler: ((error) => void) = ...
Type declaration
- (error): void
Returns void
getErrorHandler
getErrorHandler: (() => ((error) => void))
Type declaration
- (): ((error) => void)
Returns ((error) => void)
- (error): void
Returns void
getTypeResolver
getTypeResolver: (() => TypeResolver)
Type declaration
- (): TypeResolver
Returns TypeResolver
instantiateType
instantiateType: ((ctor) => any)
mergeKnownTypes
mergeKnownTypes: ((...knownTypeMaps) => Map<string, Serializable<any>>) Protected
Optional
nameResolver
nameResolver?: ((ctor) => string)
Type declaration
- (ctor): string
Returns string
Protected
Optional
options
retrievePreserveNull
retrievePreserveNull: ((memberOptions?) => boolean)
Type declaration
- (memberOptions?): boolean
Returns boolean
setDeserializationStrategy
setDeserializationStrategy: ((type, deserializer) => void)
Type declaration
- (type, deserializer): void
Returns void
setErrorHandler
setErrorHandler: ((errorHandlerCallback) => void)
Type declaration
- (errorHandlerCallback): void
Parameters
- errorHandlerCallback: ((error) => void)
- (error): void
Returns void
Returns void
setNameResolver
setNameResolver: ((nameResolverCallback) => void)
Type declaration
- (nameResolverCallback): void
Parameters
- nameResolverCallback: ((ctor) => string)
- (ctor): string
Returns string
Returns void
setTypeResolver
setTypeResolver: ((typeResolverCallback) => void)
Type declaration
- (typeResolverCallback): void
Parameters
- typeResolverCallback: TypeResolver
Returns void