Function mola::parse_yaml(const mrpt::containers::yaml&, const YAMLParseOptions&)
Defined in File yaml_helpers.h
Function Documentation
-
mrpt::containers::yaml mola::parse_yaml(const mrpt::containers::yaml &input, const YAMLParseOptions &opts = YAMLParseOptions())
Overload that accepts and returns an
mrpt::containers::yamlnode.Serializes
inputto text, runs the same pre-processing as the string overload, then re-parses the result back into amrpt::containers::yamlnode.- Parameters:
input – Source YAML node.
opts – See string overload.
- Returns:
New node with all substitutions applied.