Soenneker.Utils.Yaml
4.0.47
Prefix Reserved
dotnet add package Soenneker.Utils.Yaml --version 4.0.47
NuGet\Install-Package Soenneker.Utils.Yaml -Version 4.0.47
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Utils.Yaml" Version="4.0.47" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Utils.Yaml" Version="4.0.47" />
<PackageReference Include="Soenneker.Utils.Yaml" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Utils.Yaml --version 4.0.47
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Utils.Yaml, 4.0.47"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Utils.Yaml@4.0.47
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Utils.Yaml&version=4.0.47
#tool nuget:?package=Soenneker.Utils.Yaml&version=4.0.47
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Utils.Yaml
A utility library handling useful YAML functionalities
Installation
dotnet add package Soenneker.Utils.Yaml
Usage
Register the utility (optional, for DI):
services.AddYamlUtilAsSingleton(); // or AddYamlUtilAsScoped()
Use IYamlUtil for YAML/JSON conversion and validation:
- ToYaml(object) – Serialize any object to a YAML string.
- FromYaml<T>(string) – Deserialize YAML to a typed instance.
- FromYaml(string) – Deserialize YAML to an untyped object (dictionary/list).
- JsonToYaml(string) – Convert a JSON string to YAML.
- YamlToJson(string) – Convert a YAML string to JSON.
- IsValidYaml(string) – Return whether the string is valid YAML.
- TryFromYaml<T>(string, out T?) – Try to deserialize YAML to
T.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.5)
- Soenneker.Extensions.JsonElements (>= 4.0.55)
- Soenneker.Utils.Json (>= 4.0.2509)
- YamlDotNet (>= 16.3.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Utils.Yaml:
| Package | Downloads |
|---|---|
|
Soenneker.Coinbase.Runners.OpenApiClients.Cdp
This runner executes a GitHub action that updates another project. It's not meant for consumption. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.47 | 127 | 4/3/2026 |
| 4.0.46 | 243 | 4/1/2026 |
| 4.0.45 | 77 | 4/1/2026 |
| 4.0.44 | 125 | 3/31/2026 |
| 4.0.43 | 382 | 3/31/2026 |
| 4.0.42 | 264 | 3/24/2026 |
| 4.0.41 | 132 | 3/23/2026 |
| 4.0.40 | 93 | 3/23/2026 |
| 4.0.39 | 107 | 3/20/2026 |
| 4.0.38 | 123 | 3/20/2026 |
| 4.0.37 | 76 | 3/20/2026 |
| 4.0.36 | 132 | 3/15/2026 |
| 4.0.35 | 88 | 3/15/2026 |
| 4.0.34 | 137 | 3/14/2026 |
| 4.0.33 | 89 | 3/13/2026 |
| 4.0.32 | 91 | 3/13/2026 |
| 4.0.31 | 90 | 3/13/2026 |
| 4.0.30 | 82 | 3/13/2026 |
| 4.0.29 | 91 | 3/13/2026 |
| 4.0.28 | 87 | 3/13/2026 |
Loading failed
Deps