Kuddle.Net
0.3.0
See the version list below for details.
dotnet add package Kuddle.Net --version 0.3.0
NuGet\Install-Package Kuddle.Net -Version 0.3.0
<PackageReference Include="Kuddle.Net" Version="0.3.0" />
<PackageVersion Include="Kuddle.Net" Version="0.3.0" />
<PackageReference Include="Kuddle.Net" />
paket add Kuddle.Net --version 0.3.0
#r "nuget: Kuddle.Net, 0.3.0"
#:package Kuddle.Net@0.3.0
#addin nuget:?package=Kuddle.Net&version=0.3.0
#tool nuget:?package=Kuddle.Net&version=0.3.0
Kuddle.Net
Kuddle.Net is a .NET implementation of a KDL parser/serializer targeting v2 of the spec. KDL is concise, human-readable language built for configuration and data exchange. Head to https://kdl.dev for more specifics on the KDL document language itself.
Installation
dotnet add package Kuddle.Net
Usage
There are a few ways of using the library, the lower level KdlReader and KdlWriter classes, and the utility KdlSerializer class. For most use cases KdlSerializer.Serialize<T>/KdlSerializer.Deserialize<T> will be sufficient.
var dbKdl = """
database main port=5432
""";
var dbConfig = KdlSerializer.Deserialize<DbConfig>(dbKdl);
KDL differs from other configuration languages like
yaml or toml in that it is node-based. The top-level document can consist of a collection of nodes, not args (e.g. #true, #false, 0xAF) or properties (key=#false). To adhere to this, the serialization API depends on the use of several provided attributes to facilitate mapping KDL constructs to user defined types:
Attributes
| 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. |
-
net10.0
- Parlot (>= 1.5.6)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Kuddle.Net:
| Package | Downloads |
|---|---|
|
Kuddle.Net.Extensions.Configuration
Microsoft.Extensions.Configuration provider for KDL configuration files using Kuddle.Net. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.8.1-preview.1 | 41 | 1/18/2026 |
| 0.8.0 | 100 | 1/18/2026 |
| 0.7.1-preview.1 | 40 | 1/18/2026 |
| 0.7.0 | 102 | 1/16/2026 |
| 0.6.1-preview.1 | 43 | 1/16/2026 |
| 0.6.0 | 96 | 1/15/2026 |
| 0.5.1-preview.1 | 45 | 1/15/2026 |
| 0.5.0 | 92 | 1/14/2026 |
| 0.4.2-preview.1 | 40 | 1/14/2026 |
| 0.4.1 | 102 | 12/31/2025 |
| 0.4.1-preview.4 | 50 | 12/31/2025 |
| 0.4.1-preview.1 | 51 | 12/31/2025 |
| 0.4.0 | 96 | 12/27/2025 |
| 0.4.0-preview.2 | 49 | 12/27/2025 |
| 0.4.0-preview.1 | 119 | 12/22/2025 |
| 0.3.0 | 270 | 12/18/2025 |
| 0.0.0-preview.0 | 132 | 12/22/2025 |
Initial release of Kuddle.Net KDL parser/serializer.