Solved: How can I include a YAML file inside another?


So I have two YAML files, “A” and “B” and I want the contents of A to be inserted inside B, either spliced into the existing data structure, like an array, or as a child of an element, like the value for a certain hash key.
Is this possible at all? How? If not, any pointers to a normative reference?

Best Answer:

No, standard YAML does not include any kind of “import” or “include” statement.

If you have better answer, please add a comment about this, thank you!