VYaml
VYaml copied to clipboard
The extra fast, low memory footprint YAML library for C#, focued on .NET and Unity.
This PR adds a condition to the `EmitStringAnalyzer` that ensures that strings consisting of just numbers are quoted. For example, `0001` should emit `"0001"`, and `0001a` should emit `0001a` (as...
I am looking into serializaer options but can't find it. It would be great to skip nulls serialization in some cases, since it could heavily reduce resulting file size.
I have the following data structure: ```yaml archetypes: - types: - Type.Position - Type.Intensity - Type.Guid components: - - value: x: 3 y: 2 z: 12 - value: x: -3...
It'd be nice to have something similar to [`System.Text.Json.JsonDocument`](https://learn.microsoft.com/en-us/dotnet/api/system.text.json.jsondocument?view=net-8.0) to do introspection of the yaml document itself and possibly preserve aspects of the document when existing items are only modified...
Was wondering if there could be support for comments (inline as well) My use case involves modifying just a few items in an existing document and writing it back to...
## 概要 VYamlで特定の文字から始まるstringを持つyamlをデシリアライズすると、無限ループに陥ります。 `Serialize*()`は問題なく動作します。 ## 再現手順 1. .NET コンソールアプリケーション(net8)を作成しVYaml 0.27.1をインストールします。 2. 以下のコードを記述します。 ```csharp using System; using VYaml.Annotations; using VYaml.Serialization; var user = new User("Alice"); var v = YamlSerializer.Serialize(user); Console.Write($"{user.Name}: Serialized");...