Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JsonPropertyOrderOptions

Decorator options for JsonPropertyOrder.

Hierarchy

Index

Properties

Optional alphabetic

alphabetic: boolean

Property that defines what to do regarding ordering of properties not explicitly included in decorator instance. If set to true, they will be alphabetically ordered; if false, order is undefined (default setting).

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 value

value: string[]

Order in which properties of decorated object are to be serialized in.

Generated using TypeDoc