Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JsonDeserializeOptions

Decorator options for JsonDeserialize.

Hierarchy

Index

Properties

Optional contentUsing

contentUsing: (obj: any, context?: JsonParserTransformerContext) => any

Deserializer function to use for deserializing contents (elements of a Iterables and values of Maps) of decorated property.

param
param

Type declaration

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 keyUsing

keyUsing: (key: any, context?: JsonParserTransformerContext) => any

Deserializer function to use for deserializing Map of Object Literal keys of decorated property.

param
param

Type declaration

Optional using

using: (obj: any, context?: JsonParserTransformerContext) => any

Deserializer function to use for deserializing associated value.

param
param

Type declaration

Generated using TypeDoc