How can I include a YAML file inside another?

kch picture kch · Feb 9, 2009 · Viewed 206.3k times · Source

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?

Answer

jameshfisher picture jameshfisher · Mar 15, 2013

No, YAML does not include any kind of "import" or "include" statement.