# YAML Test Matrix

--- &test-FQ7F
  Title: Spec Example 2.1. Sequence of Scalars
  Tags: [ sequence, spec ]

YAML

- Mark McGwire
- Sammy Sosa
- Ken Griffey

Expected Events

+STR
+DOC
+SEQ
=VAL :Mark McGwire
=VAL :Sammy Sosa
=VAL :Ken Griffey
-SEQ
-DOC
-STR

Expected JSON

[
"Mark McGwire",
"Sammy Sosa",
"Ken Griffey"
]

c-libfyaml-event

 ok

c-libyaml-event

 ok

cpp-rapidyaml-event

 ok

cpp-yamlcpp-event

 ok

dotnet-yamldotnet-event

 ok

hs-hsyaml-event

 ok

js-yaml-event

 ok

nim-nimyaml-event

 ok

perl-pp-event

 ok

perl-refparser-event

 ok

py-pyyaml-event

 ok

py-ruamel-event

 ok

rust-yamlrust-event

 ok

c-libfyaml-json

 json_ok

dotnet-yamldotnet-json

 json_ok

go-yaml-json

 json_ok

hs-hsyaml-json

 json_ok

js-jsyaml-json

 json_ok

js-yaml-json

 json_ok

lua-lyaml-json

 json_ok

perl-pp-json

 json_ok

perl-pplibyaml-json

 json_ok

perl-syck-json

 json_ok

perl-tiny-json

 json_ok

perl-xs-json

 json_ok

perl-yaml-json

 json_ok

py-pyyaml-json

 json_ok

py-ruamel-json

 json_ok

ruby-psych-json

 json_ok

hs-reference-yeast

 na
Line  Col Char Byte Token|Content
   1    0    0    0 +DOC |
   1    0    0    0 +NODE|
   1    0    0    0 +SEQ |
   1    0    0    0 =SYNX|-
   1    1    1    1 =WSPC|.
   1    2    2    2 +NODE|
   1    2    2    2 +VAL |
   1    2    2    2 =TEXT|Mark.McGwire
   1   14   14   14 -VAL |
   1   14   14   14 -NODE|
   1   14   14   14 =EOL |\x0a
   2    0   15   15 =SYNX|-
   2    1   16   16 =WSPC|.
   2    2   17   17 +NODE|
   2    2   17   17 +VAL |
   2    2   17   17 =TEXT|Sammy.Sosa
   2   12   27   27 -VAL |
   2   12   27   27 -NODE|
   2   12   27   27 =EOL |\x0a
   3    0   28   28 =SYNX|-
   3    1   29   29 =WSPC|.
   3    2   30   30 +NODE|
   3    2   30   30 +VAL |
   3    2   30   30 =TEXT|Ken.Griffey
   3   13   41   41 -VAL |
   3   13   41   41 -NODE|
   3   13   41   41 =EOL |\x0a
   4    0   42   42 -SEQ |
   4    0   42   42 -NODE|
   4    0   42   42 -DOC |

perl-pp-perl

 na
[
  'Mark McGwire',
  'Sammy Sosa',
  'Ken Griffey'
]

perl-pplibyaml-perl

 na
[
  'Mark McGwire',
  'Sammy Sosa',
  'Ken Griffey'
]

perl-syck-perl

 na
[
  'Mark McGwire',
  'Sammy Sosa',
  'Ken Griffey'
]

perl-tiny-perl

 na
[
  'Mark McGwire',
  'Sammy Sosa',
  'Ken Griffey'
]

perl-xs-perl

 na
[
  'Mark McGwire',
  'Sammy Sosa',
  'Ken Griffey'
]

perl-yaml-perl

 na
[
  'Mark McGwire',
  'Sammy Sosa',
  'Ken Griffey'
]

py-pyyaml-py

 na
['Mark McGwire', 'Sammy Sosa', 'Ken Griffey']

py-ruamel-py

 na
['Mark McGwire', 'Sammy Sosa', 'Ken Griffey']