Skip to main content

Module yaml

Module yaml 

Source
Expand description

Provides the yaml module.

§Examples

ⓘ
use pharos_runtime_core::yaml;
  • crate for sibling modules in the same crate. Strict YAML preflight validation with exact duplicate-key locations.

Structs§

DuplicateKeyReceiver 🔒
YamlDiagnostic
Stable YAML diagnostic emitted before semantic contract compilation.

Enums§

Container 🔒

Functions§

parse_yaml_file
Reads and parses one YAML file as JSON after duplicate-key validation.
parse_yaml_text
Parses one YAML document as JSON after duplicate-key validation.
serialize_yaml_value
Emits a bounded structured document and verifies that YAML retains its values.
validate_unique_mapping_keys
Rejects duplicate or complex YAML mapping keys before value materialization.
yaml_to_json
Converts a loaded YAML node into JSON.