YamlUnionCaseShape Enum

Describes the YAML shape a union case is represented by.

public enum YamlUnionCaseShape

Fields

NameValueDescription
Boolean0The case is represented by a boolean scalar.
Number1The case is represented by a numeric scalar.
Text2The case is represented by a text scalar.
Sequence3The case is represented by a sequence.
Mapping4The case is represented by a mapping.
Any5The case can be represented by any YAML shape, or by several shapes, such as a nested union whose cases use different shapes.