YamlSerializer maps YAML documents to .NET objects. It is designed to feel familiar if you already use JsonSerializer:
YamlSerializer mirrors JsonSerializerYamlSerializerOptions mirrors JsonSerializerOptionsYamlSerializerContext and YamlTypeInfo<T>System.Text.Json.Serialization attributes work out of the box (for example JsonPropertyNameAttribute, JsonIgnoreAttribute)Start here: