Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JsonIgnorePropertiesOptions

Decorator options for JsonIgnoreProperties.

Hierarchy

Index

Properties

Optional allowGetters

allowGetters: boolean

Property that can be enabled to allow "getters" to be used (that is, prevent ignoral of getters for properties listed in value).

default

false

Optional allowSetters

allowSetters: boolean

Property that can be enabled to allow "setters" to be used (that is, prevent ignoral of setters for properties listed in value).

default

false

Optional contextGroups

contextGroups: string[]

Property that defines whether this decorator is part of a context group or multiple groups.

Optional enabled

enabled: boolean

Property that defines whether this decorator is active or not.

default

true

Optional ignoreUnknown

ignoreUnknown: boolean

Property that defines whether it is ok to just ignore any unrecognized properties during deserialization.

default

false

Optional value

value: string[]

Names of properties to ignore.

Generated using TypeDoc