YamlDotNet
YamlDotNet copied to clipboard
YamlDotNet is a .NET library for YAML
See minimal repro below using v16.3.0. Is there a way to get this scalar to save using this tag mapping? Expected output: ``` Title: YamlDocument DoubleItem: !Double 8.500000E+000 ``` Actual...
**Describe the bug** Looks like a possible regression of #260 **To Reproduce** ```csharp var content = @" key1: value1 key2: value2 key3: key4: value4 key5: value5 key6: - item1 -...
Added a test to demonstrate a bug where CLR types can't be serialised if they're null.
## Welcome! Thanks for your interest in contributing to this project. Any contribution will be gladly accepted, provided that they are generally useful and follow the conventions of the project....
**Describe the bug** I'm not exactly sure what the bug is, but it seems that YamlDotNet aliases different types withing the same document as long as their YAML representation is...
How do I serialize an F# record without having it output duplicate fields with `@` signs at the end?
Example code: ``` #r "nuget: YamlDotNet, 16.3.0" open YamlDotNet open System [] type t = { qwer : string asdf : int } let t = { qwer = "hello"...
**Describe the bug** In the project, if there is a unique class with `YamlStaticContext` attribute, and this class is in the global namespace, while there are other classes with `YamlSerializable`...
**Is your feature request related to a problem? Please describe.** I'm targetting AOT compilation and using YamlDotNet. The restriction to use only dotnet runtime types is fine in this particular...
Hi there! I'm seeking wisdom :) I want to build an API that allows to incrementally build a YAML file using classes/strings/anonymous types. Imagine the following: ``` new SomeWrapper() .Set(new...
**Is your feature request related to a problem? Please describe.** We are leveraging this library to parse the YAML content written by our end-users. We need accurate location information of...