2 test: Multiple quoted string on one line
4 Multiple quoted string on one line
6 stripped_title: { name: "foo bar", help: "bar foo" }
8 array('stripped_title' => array('name' => 'foo bar', 'help' => 'bar foo'))
14 array('foo' => array())
22 test: Inline string parsing
26 test: ['complex: string', 'another [string]']
28 array('test' => array('complex: string', 'another [string]'))
54 test: Empty lines in literal blocks
56 Empty lines in literal blocks
66 array('foo' => array('bar' => "foo\n\n\n \nbar\n"))
68 test: Empty lines in folded blocks
70 Empty lines in folded blocks
80 array('foo' => array('bar' => "\nfoo\n\nbar\n"))
88 array('foo' => '10.0.0.2')
90 test: A sequence with an embedded mapping
92 A sequence with an embedded mapping
97 array('foo', array('bar' => array('bar' => 'foo')))
99 test: A sequence with an unordered array
101 A sequence with an unordered array
106 array(1 => 'foo', 0 => 'bar')
109 brief: as in spec example 2.19, octal value is converted
116 brief: Octal notation in a string must remain a string
120 array('foo' => '0123')
123 brief: Octal notation in a string must remain a string
127 array('foo' => '0123')
130 brief: Octal notation in a string must remain a string
135 array('foo' => "0123\n")
137 test: Document as a simple hash
138 brief: Document as a simple hash
142 array('foo' => 'bar')
144 test: Document as a simple array
145 brief: Document as a simple array