Table of Contents

Class YamlConverter

Namespace
Oscova.Agents.Persistence
Assembly
Oscova.Agents.dll

Serializes small Oscova file-format DTOs with the YAML shape used on disk.

public sealed class YamlConverter

Inheritance

Inherited Members

Methods

Deserialize<T>(string)

Deserializes YAML into T, ignoring unknown fields for compatibility.

DeserializeMapping(string)

Reads extensible metadata without discarding unknown fields or scalar value types.

ReadSchemaVersion(string)

Reads a document's schema marker, treating the original unmarked mapping as version one.

RequireSchemaVersion(string, int)

Rejects unsupported document schemas before binding their fields to the current model.

Serialize<T>(T)

Serializes value to YAML using snake_case keys.

WithSchemaVersion(string, int)

Adds the owning domain's schema marker to its unmarked serialized settings snapshot.