Soenneker.Utils.Yaml
4.0.9
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Utils.Yaml --version 4.0.9
NuGet\Install-Package Soenneker.Utils.Yaml -Version 4.0.9
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.9" />
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.9" />
<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.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Utils.Yaml, 4.0.9"
#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.9
#: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.9
#tool nuget:?package=Soenneker.Utils.Yaml&version=4.0.9
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.3)
- Soenneker.Extensions.JsonElements (>= 4.0.41)
- Soenneker.Utils.File (>= 4.0.2083)
- Soenneker.Utils.Json (>= 4.0.2449)
- 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.62 | 0 | 4/29/2026 |
| 4.0.61 | 421 | 4/24/2026 |
| 4.0.60 | 207 | 4/23/2026 |
| 4.0.59 | 401 | 4/23/2026 |
| 4.0.58 | 425 | 4/23/2026 |
| 4.0.57 | 54 | 4/22/2026 |
| 4.0.56 | 115 | 4/22/2026 |
| 4.0.55 | 153 | 4/21/2026 |
| 4.0.54 | 1,802 | 4/15/2026 |
| 4.0.53 | 259 | 4/14/2026 |
| 4.0.52 | 829 | 4/10/2026 |
| 4.0.51 | 130 | 4/10/2026 |
| 4.0.50 | 258 | 4/7/2026 |
| 4.0.49 | 94 | 4/7/2026 |
| 4.0.48 | 282 | 4/6/2026 |
| 4.0.47 | 216 | 4/3/2026 |
| 4.0.46 | 262 | 4/1/2026 |
| 4.0.45 | 93 | 4/1/2026 |
| 4.0.44 | 142 | 3/31/2026 |
| 4.0.9 | 192 | 3/7/2026 |
Loading failed