YamlDotNet
YamlDotNet copied to clipboard
YamlDotNet is a .NET library for YAML
Hi there Thanks for this library. I think to gain even more popularity it would be good to include some more samples in the read me, especially for the Serialization...
**YamlStream.Load** terminates the process by throwing a **StackOverflowException** when loading the document from the [attached archive]. As far as I know, there is no way to set the recursion limit...
EnsureRoundtrip emits tags for objects when needed. But it does not force emission of tags for primitives. For example the class ```csharp class Container { public object Data { get;...
**YamlStream.Load** takes more than 60s to parse the 37K file from the [attached archive] before it finally throws **YamlDotNet.Core.SemanticErrorException**. You can run the following code to reproduce it (the **path**...
Peak nomenclature and comment indicates that it should return the next event without consuming it. Actual behaviour is to return the current event without consuming it. https://github.com/aaubry/YamlDotNet/blob/2c6d52253cdd8d67256bbac6b26322ffcdeb49f0/YamlDotNet/Core/ParserExtensions.cs#L87-L99 Accept indicates it...
Might be related to https://github.com/aaubry/YamlDotNet/issues/26. I'm trying to serialize an object which was deserialized from an HTTP response using Newtonsoft.Json ans it looks like any array which was deserialized from...
When using a JSON compatible value serializer with a Emitter (which has a small bestWidth) the resulting string is no longer JSON compatible because of emitted newlines. ```csharp var emitter...
There seems to be a problem with the way anchors are resolved. I get the following exception when running the test shown below: `YamlDotNet.Core.AnchorNotFoundException: '(Line: 18, Col: 14, Idx: 264)...
Hi, I just wanted to see if there is an easier way to tell the yaml deserializer which concrete implementation to use in case a property is either an interface...
Hello Is it possible to serialize and deserialize private fields? I tried adding IncludeNonPublicProperties(), but as the title says, it only works with properties