@tsed/json-mapper
Version:
Json mapper module for Ts.ED Framework
18 lines (17 loc) • 588 B
TypeScript
/**
* Shared configuration flags used by both serialization and deserialization flows.
*/
export interface JsonMapperGlobalOptions {
/**
* JsonMapper additional property policy. (see [JsonMapper](/docs/json-mapper.md))
*/
additionalProperties?: boolean;
/**
* Disable the unsecure constructor injection when the deserialize function is used (by default: false)
*/
disableUnsecureConstructor?: boolean;
/**
* Enable strict Groups configuration when the `options.groups` is undefined. (by default: false)
*/
strictGroups?: boolean;
}