Path: redb-route/redb.Route.DataFormats.Yaml/YamlDataFormatOptions.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.DataFormats.Yaml/YamlDataFormatOptions.cs
----
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
namespace redb.Route.DataFormats.Yaml;
/// Options of one instance.
public sealed class YamlDataFormatOptions
{
/// Property naming in the document. Default camelCase (the same choice as the JSON codec).
public INamingConvention NamingConvention { get; set; } = CamelCaseNamingConvention.Instance;
/// Ignore document keys that have no matching property on unmarshal. Default true.
public bool IgnoreUnmatchedProperties { get; set; } = true;
}