Enum InlineMode

Namespace
Huml.Net.Serialization
Assembly
Huml.Net.dll

Specifies the per-property inline format override for collection serialisation.

public enum InlineMode

Fields

Inherit = 0

Inherit the global HumlOptions.CollectionFormat setting (default).

Inline = 1

Request inline format for this property's collection value. Scalar-only collections are emitted inline; non-scalar items silently fall back to multiline.

Multiline = 2

Force multiline format for this property's collection value, regardless of the global HumlOptions.CollectionFormat setting.

Remarks

Use with Inline to control whether a specific collection property is serialised inline, forced multiline, or inherits the global HumlOptions.CollectionFormat setting.