YamlDotNet icon indicating copy to clipboard operation
YamlDotNet copied to clipboard

YamlDotNet is a .NET library for YAML

Results 197 YamlDotNet issues
Sort by recently updated
recently updated
newest added

Hi! The following test case appears to fail: ```c# using System.Diagnostics; using YamlDotNet.Serialization; public class Program { public static void Main(string[] argv) { var ser = new SerializerBuilder().JsonCompatible().Build(); var des...

enhancement
question

Here is a meta file created by Unity for a managed dll: ```yaml fileFormatVersion: 2 guid: 29e75658b79a414a8525c35535b64f6c PluginImporter: externalObjects: {} serializedVersion: 2 iconMap: {} executionOrder: {} defineConstraints: [] isPreloaded: 0...

bug

**Describe the bug** I have a YAML schema that has an array of items that can have the same key, e.g. choices: - correct: answer1 - wrong: answer2 - wrong:...

question

How to place some blank lines between properties. In my case this is helpful for separating sections of the yaml. Example: Considering this class: ``` public class MyYaml { public...

enhancement

I have an issue where the hash code function enters infinite recursion in some cases with circular references. This is a suggestion to fix the issue, as I noticed that...

The following code is the full code to reproduce the bug. (Its commented.) var serializer = new SerializerBuilder().Build(); var yaml = serializer.Serialize(new List() { "\t," }); // Fails to decorate...

bug

## Summary The test `DeserializeScalarEdgeCases` fails if the machine culture does not use the dot decimal separator. This is caused due to `object.ToString()` being culture sensitive for floats and doubles....

Hello **thank you very much for sharing your great work!** I use YamDotNet for non-profit projects and it's great to have your library. ### Is your feature request related to...

enhancement

My goal: - Switch flow and block style dynamically depending on context (e.g. object path). - Try to keep lines within a target width. I don't know how to get...

enhancement

Hello, I want to generate a two-dimensional array, but the result is not quite what I expected. This is my code: ``` using YamlDotNet.Serialization; var serializer = new Serializer(); var...

bug