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 = 0Inherit the global
HumlOptions.CollectionFormatsetting (default).Inline = 1Request inline format for this property's collection value. Scalar-only collections are emitted inline; non-scalar items silently fall back to multiline.
Multiline = 2Force multiline format for this property's collection value, regardless of the global
HumlOptions.CollectionFormatsetting.
Remarks
Use with Inline to control whether a specific
collection property is serialised inline, forced multiline, or inherits the global
HumlOptions.CollectionFormat setting.