Fullscreen
Loading...
 
[Show/Hide Left Column]
[Show/Hide Right Column]

Print
  • World
    • No language is assigned to this page.

YAML

YAML stands (ironically?) for "YAML ain't markup language" and was intended as a more human readable substitute for programming data structures. The specifications for YAML, unfortunately are not very human readable, so hopefully these rules will suffice.

For special characters indicators in YAML please see the Index on http://www.yaml.org/spec/1.2/spec.html#id2806177


1. Indentation means scope. Indenting one or more spaces means that the indented stuff belongs to the less indented thing that precedes it. It doesn't matter how many spaces a child element is indented from a parent, but all children must be indented with the same number of spaces. Example:

YAML
objects:
 -
  type: wiki_page
  ref: foo_page
  data:
   name: Foo
   content: wikicontent:Foo


is the same as

YAML
objects:
 -
   type: wiki_page
   ref: foo_page
   data:
      name: Foo
      content: wikicontent:Foo





Contributors to this page: luciash d' being , Marc Laporte and idealpragmatist .
Page last modified on Thursday 20 of July, 2017 15:44:26 CEST by luciash d' being.
Category: Documentation