NilKit API includes a general-purpose KDL parser/writer and historically also experimented with SDK-specific metadata.
The reusable KDL utilities include:
KdlParserKdlWriterKdlDocumentKdlNodeKdlValueKdlParseException
These classes are useful independently of NilLoader metadata.
The 4.0.0 codebase contains support for .nilsdkmod.kdl, including metadata bridge/bootstrap classes.
This area should be treated as legacy/experimental during the NilKit migration.
It should not be presented as a replacement for NilLoader's own metadata/loading machinery, and any implementation that depends on NilLoader internals should be reviewed before being kept in future releases.
Relevant historical classes include:
SdkModMetadataSdkMetadataKdlSdkMetadataIONilMetadataBridgeNilMetadataPatchInstallerKdlOnlyModBootstrapper
General-purpose KDL parsing can remain a standalone utility.
NilLoader integration should go through supported NilLoader mechanisms rather than sideloading data into internal structures.