Home | History | Annotate | Download | only in pyyaml
      1 %YAML 1.1
      2 ---
      3 !!map {
      4   ? !!str "block styles" : !!map {
      5     ? !!str "scalars" : !!map {
      6       ? !!str "literal"
      7       : !!str "#!/usr/bin/perl\n\
      8           print \"Hello,
      9           world!\\n\";\n",
     10       ? !!str "folded"
     11       : !!str "This sentence
     12           is false.\n"
     13     },
     14     ? !!str "collections" : !!map {
     15       ? !!str "sequence" : !!seq [
     16         !!str "entry",
     17         !!map {
     18           ? !!str "key" : !!str "value"
     19         }
     20       ],
     21       ? !!str "mapping" : !!map {
     22         ? !!str "key" : !!str "value"
     23 } } } }
     24