JsonMapperGlobalOptions
@tsed/json-mapper
Usage
typescript
import { JsonMapperGlobalOptions } from "@tsed/json-mapper";
See /packages/specs/json-mapper/src/types/domain/JsonMapperGlobalOptions.ts.
Overview
ts
interface JsonMapperGlobalOptions {
additionalProperties?: boolean;
disableUnsecureConstructor?: boolean;
strictGroups?: boolean;
}
additionalProperties
ts
additionalProperties?: boolean;
JsonMapper additional property policy. (see JsonMapper)
disableUnsecureConstructor
ts
disableUnsecureConstructor?: boolean;
Disable the unsecure constructor injection when the deserialize function is used (by default: false)
strictGroups
ts
strictGroups?: boolean;
Enable strict Groups configuration when the options.groups
is undefined. (by default: false)