Blame | Last modification | View Log | Download
--- %YAML:1.0test: Unindented collectionbrief: >Unindented collectionyaml: |collection:- item1- item2- item3php: |array('collection' => array('item1', 'item2', 'item3'))---test: Nested unindented collection (two levels)brief: >Nested unindented collectionyaml: |collection:key:- a- b- cphp: |array('collection' => array('key' => array('a', 'b', 'c')))---test: Nested unindented collection (three levels)brief: >Nested unindented collectionyaml: |collection:key:subkey:- one- two- threephp: |array('collection' => array('key' => array('subkey' => array('one', 'two', 'three'))))---test: Key/value after unindented collection (1)brief: >Key/value after unindented collection (1)yaml: |collection:key:- a- b- cfoo: barphp: |array('collection' => array('key' => array('a', 'b', 'c')), 'foo' => 'bar')---test: Key/value after unindented collection (at the same level)brief: >Key/value after unindented collectionyaml: |collection:key:- a- b- cfoo: barphp: |array('collection' => array('key' => array('a', 'b', 'c'), 'foo' => 'bar'))---test: Shortcut Key after unindented collectionbrief: >Key/value after unindented collectionyaml: |collection:- key: foofoo: barphp: |array('collection' => array(array('key' => 'foo', 'foo' => 'bar')))---test: Shortcut Key after unindented collection with custom spacesbrief: >Key/value after unindented collectionyaml: |collection:- key: foofoo: barphp: |array('collection' => array(array('key' => 'foo', 'foo' => 'bar')))