# YAML Test Matrix

--- &test-2AUY
  Title: Tags in Block Sequence
  Tags: [ sequence, tag ]

YAML

 - !!str a
 - b
 - !!int 42
 - d

Expected Events

+STR
+DOC
+SEQ
=VAL <tag:yaml.org,2002:str> :a
=VAL :b
=VAL <tag:yaml.org,2002:int> :42
=VAL :d
-SEQ
-DOC
-STR

Expected JSON

[
"a",
"b",
42,
"d"
]

c-libfyaml-event

 ok

c-libyaml-event

 ok

cpp-yamlcpp-event

 ok

dotnet-yamldotnet-event

 ok

hs-hsyaml-event

 ok

java-snakeyaml-event

 ok

js-yaml-event

 ok

nim-nimyaml-event

 ok

perl-pp-event

 ok

perl-pplibyaml-event

 ok

py-pyyaml-event

 ok

py-ruamel-event

 ok

c-libfyaml-json

 json_ok

dotnet-yamldotnet-json

 json_ok

hs-hsyaml-json

 json_ok

java-snakeyaml-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-xs-json

 json_ok

perl-yaml-json

 json_ok

py-pyyaml-json

 json_ok

py-ruamel-json

 json_ok

ruby-psych-json

 json_ok

perl-pp-perl

 na
[
  'a',
  'b',
  42,
  'd'
]

perl-pplibyaml-perl

 na
[
  'a',
  'b',
  42,
  'd'
]

perl-syck-perl

 na
[
  'a',
  'b',
  42,
  'd'
]

perl-xs-perl

 na
[
  'a',
  'b',
  42,
  'd'
]

perl-yaml-perl

 na
[
  'a',
  'b',
  42,
  'd'
]

py-pyyaml-py

 na
['a', 'b', 42, 'd']

py-ruamel-py

 na
['a', 'b', 42, 'd']

perl-tiny-json

 ni
YAML::Tiny found bad indenting in line ' - !!str a' at /yaml/bin/perl-tiny-json line 12.

perl-tiny-perl

 ni
YAML::Tiny found bad indenting in line ' - !!str a' at /yaml/bin/perl-tiny-perl line 15.