Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JsonAppendOptionsAttribute

Definition of a single attribute-backed property. Attribute-backed properties will be appended after (or prepended before, as per JsonAppend.prepend()) regular properties in specified order, although their placement may be further changed by the usual property-ordering (see JsonPropertyOrder) functionality (alphabetic sorting; explicit ordering).

Hierarchy

  • JsonAppendOptionsAttribute

Index

Properties

Optional include

When to include attribute-property.

Optional propName

propName: string

Name to use for serializing value of the attribute; if not defined, value will be used instead.

Optional required

required: boolean

Property that indicates whether a value (which may be explicit null) is expected for property during serialization or not.

value

value: string

Name of attribute of which value to serialize.

Generated using TypeDoc