Soenneker.Utils.Yaml
4.0.31
Prefix Reserved
dotnet add package Soenneker.Utils.Yaml --version 4.0.31
NuGet\Install-Package Soenneker.Utils.Yaml -Version 4.0.31
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.31" />
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.31" />
<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.31
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Utils.Yaml, 4.0.31"
#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.31
#: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.31
#tool nuget:?package=Soenneker.Utils.Yaml&version=4.0.31
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.54)
- Soenneker.Utils.File (>= 4.0.2128)
- Soenneker.Utils.Json (>= 4.0.2476)
- 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.31 | 0 | 3/13/2026 |
| 4.0.30 | 0 | 3/13/2026 |
| 4.0.29 | 0 | 3/13/2026 |
| 4.0.28 | 0 | 3/13/2026 |
| 4.0.24 | 37 | 3/12/2026 |
| 4.0.22 | 40 | 3/11/2026 |
| 4.0.21 | 126 | 3/11/2026 |
| 4.0.20 | 62 | 3/11/2026 |
| 4.0.19 | 50 | 3/11/2026 |
| 4.0.18 | 69 | 3/11/2026 |
| 4.0.17 | 78 | 3/11/2026 |
| 4.0.16 | 80 | 3/11/2026 |
| 4.0.15 | 79 | 3/10/2026 |
| 4.0.13 | 73 | 3/10/2026 |
| 4.0.12 | 76 | 3/10/2026 |
| 4.0.11 | 79 | 3/9/2026 |
| 4.0.10 | 77 | 3/9/2026 |
| 4.0.9 | 183 | 3/7/2026 |
| 4.0.8 | 80 | 3/7/2026 |
Loading failed
Update dependency Soenneker.Utils.File to 4.0.2128 (#26)
Automatically merged