Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration JsonTypeInfoAs

Definition of standard type inclusion mechanisms for type metadata.

Index

Enumeration members

EXTERNAL_PROPERTY

EXTERNAL_PROPERTY:

Inclusion mechanism similar to PROPERTY, except that property is included one-level higher in hierarchy, i.e. as sibling property at same level as JSON Object to type. Note that this choice can only be used for properties, not for types (classes). Trying to use it for classes will result in inclusion strategy of basic PROPERTY instead.

PROPERTY

PROPERTY:

Inclusion mechanism that uses a single configurable property, included along with actual data (Class properties) as a separate meta-property.

WRAPPER_ARRAY

WRAPPER_ARRAY:

Inclusion mechanism that wraps typed JSON value (Class serialized as JSON) in a 2-element JSON array: first element is the serialized type identifier, and second element the serialized Class as JSON Object.

WRAPPER_OBJECT

WRAPPER_OBJECT:

Inclusion mechanism that wraps typed JSON value (Class serialized as JSON) in a JSON Object that has a single entry, where field name is serialized type identifier, and value is the actual JSON value.

Generated using TypeDoc