pub fn validate_unique_mapping_keys(text: &str) -> Result<(), YamlDiagnostic>Expand description
Rejects duplicate or complex YAML mapping keys before value materialization.
§Parameters
text: Input consumed bycrate::yaml::validate_unique_mapping_keys.
§Returns
Returns the successful value produced by crate::yaml::validate_unique_mapping_keys or an error when the operation fails.
§Errors
Returns an error value when crate::yaml::validate_unique_mapping_keys cannot complete successfully.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::yaml::validate_unique_mapping_keys.
§Examples
ⓘ
let _result = pharos_runtime_core::yaml::validate_unique_mapping_keys("{}");§Related
crate::yamlfor adjacent helpers that share the same runtime surface.