Soenneker.Utils.Yaml
4.0.16
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.16
NuGet\Install-Package Soenneker.Utils.Yaml -Version 4.0.16
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.16" />
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.16" />
<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.16
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Utils.Yaml, 4.0.16"
#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.16
#: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.16
#tool nuget:?package=Soenneker.Utils.Yaml&version=4.0.16
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.4)
- Soenneker.Extensions.JsonElements (>= 4.0.45)
- Soenneker.Utils.File (>= 4.0.2083)
- Soenneker.Utils.Json (>= 4.0.2464)
- 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 | 211 | 4/29/2026 |
| 4.0.61 | 556 | 4/24/2026 |
| 4.0.60 | 251 | 4/23/2026 |
| 4.0.59 | 444 | 4/23/2026 |
| 4.0.58 | 468 | 4/23/2026 |
| 4.0.57 | 97 | 4/22/2026 |
| 4.0.56 | 127 | 4/22/2026 |
| 4.0.55 | 155 | 4/21/2026 |
| 4.0.54 | 1,803 | 4/15/2026 |
| 4.0.53 | 260 | 4/14/2026 |
| 4.0.52 | 831 | 4/10/2026 |
| 4.0.51 | 131 | 4/10/2026 |
| 4.0.50 | 260 | 4/7/2026 |
| 4.0.49 | 95 | 4/7/2026 |
| 4.0.48 | 284 | 4/6/2026 |
| 4.0.47 | 218 | 4/3/2026 |
| 4.0.46 | 265 | 4/1/2026 |
| 4.0.45 | 94 | 4/1/2026 |
| 4.0.44 | 143 | 3/31/2026 |
| 4.0.16 | 100 | 3/11/2026 |
Loading failed