decode method
Decodes a document of this root from its YAML text (tier 1).
Throws SpecYamlFormatException when a key does not fit the model.
Implementation
SpecDocument decode(String yamlText) =>
SpecDocumentYaml.decode(yamlText, tree).document;
Decodes a document of this root from its YAML text (tier 1).
Throws SpecYamlFormatException when a key does not fit the model.
SpecDocument decode(String yamlText) =>
SpecDocumentYaml.decode(yamlText, tree).document;