JsonDeserializerOptions
@tsed/json-mapper
Usage
typescript
import { JsonDeserializerOptions } from "@tsed/json-mapper";
See /packages/specs/json-mapper/src/types/domain/JsonDeserializerOptions.ts.
Overview
ts
interface JsonDeserializerOptions<T = any, C = any> extends MetadataTypes<T, C>, JsonMapperGlobalOptions {
types?: Map<Type | Symbol | string, JsonMapperMethods>;
useAlias?: boolean;
store?: JsonEntityStore;
groups?: string[] | false;
generics?: Type[][];
[key: string]: any;
}
types
ts
types?: Map<Type | Symbol | string, JsonMapperMethods>;
Types used to map complex types (Symbol, Array, Set, Map)
useAlias
ts
useAlias?: boolean;
useAlias mapping
store
ts
store?: JsonEntityStore;
Use the store which have all metadata to deserialize correctly the model. This property is useful when you deal with metadata parameters.
groups
ts
groups?: string[] | false;
generics
ts
generics?: Type[][];
Add types to deserialize a module using generics feature.
[key: string]
ts
[key: string]: any;