Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JsonIdentityReferenceOptions

Decorator options for JsonIdentityReference.

Hierarchy

Index

Properties

alwaysAsId

alwaysAsId: boolean

Marker to indicate whether all referenced values are to be serialized as ids (true); or by serializing the first encountered reference as Class and only then as id (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

Generated using TypeDoc