Ethan Shea

Results 4 comments of Ethan Shea

[In yaml, and empty value indicates null](https://yaml.org/type/null.html). You'll need to use a block mapping here to indicate that you want an empty object and not a null one. ```yaml -...

Is there a test case to exercise this functionality?

@yariker Doing this globally is already possible with a custom event emitter. Example: https://dotnetfiddle.net/FYU8rF ```csharp using System; using YamlDotNet.Core; using YamlDotNet.Core.Events; using YamlDotNet.Serialization; using YamlDotNet.Serialization.EventEmitters; public class Program { public...

I'm seeing this as well, only it was just the first line being omitted. The `{#key}` workaround works great for me as well.