VYaml
VYaml copied to clipboard
The extra fast, low memory footprint YAML library for C#, focued on .NET and Unity.
https://github.com/hadashiA/VYaml/blob/81abc25d9f5d8250028cf09d8a68a59a3d2cd649/VYaml/Internal/Scalar.cs#L11-L24 I have a tool to deserialize all assets from my unity project. It's basically calling `YamlSerializer.DeserializeMultipleDocumentsAsync` combined with `Parallel.ForEach`. When I upgraded to the latest VYaml (v0.26) I have...
As default values are not possible at the moment, and merge doesn't work well, the document could have too many copypastes. [here](https://ktomk.github.io/writing/yaml-anchor-alias-and-merge-key.html) is more info on aliases override:
Changes the input parameter of [`Utf8YamlEmitter.WriteString`](https://github.com/hadashiA/VYaml/blob/master/VYaml/Emitter/Utf8YamlEmitter.cs#L606) from `System.String` to `System.ReadOnlySpan` for more optimal writing scenarios. ***Note, this PR changes the project `LangVersion` from `9` to `11` to use pattern matching...
Does VYaml support deserialization of objects with auto-property initializer syntax eg: ```cs public string S {get;set;} = "s"; public CustomClass CustomClass {get; set;} = new(); ```
In some cases, I will need to serialize and deserialize Unity types, such as Vector3, Color, etc. Although I implemented part of it myself, I would like to have a...
as there allready exists an async deserialize a async serialize would be good to have also a serialize to stream would be good to have like ```cs public static void...
If I have 2 types like Type1 and Type2 which implement a common interface it's not possible to deserialize document if one of them has no extra parameters ``` list:...
One of the things I miss in VYaml compared to YamlDotnet is the possibility of choosing the namingcase in the options, i think it would be good to have NamingConvention...
refs: https://github.com/hadashiA/VYaml/pull/99#issuecomment-2131426015