# YAML Test Matrix

--- &test-GH63
  Title: Mixed Block Mapping (explicit to implicit)
  Tags: [ explicit-key, mapping ]

YAML

? a
: 1.3
fifteen: d

Expected Events

+STR
+DOC
+MAP
=VAL :a
=VAL :1.3
=VAL :fifteen
=VAL :d
-MAP
-DOC
-STR

Expected JSON

{
"a": 1.3,
"fifteen": "d"
}

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

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

 json_ok

perl-yaml-json

 json_ok

py-pyyaml-json

 json_ok

py-ruamel-json

 json_ok

ruby-psych-json

 json_ok

dotnet-yamldotnet-json

 json_diff
{
  "a": "1.3",
  "fifteen": "d"
}

hs-reference-yeast

 na
Line  Col Char Byte Token|Content
   1    0    0    0 +DOC |
   1    0    0    0 +NODE|
   1    0    0    0 +MAP |
   1    0    0    0 +PAIR|
   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|a
   1    3    3    3 -VAL |
   1    3    3    3 -NODE|
   1    3    3    3 =EOL |\x0a
   2    0    4    4 =SYNX|:
   2    1    5    5 =WSPC|.
   2    2    6    6 +NODE|
   2    2    6    6 +VAL |
   2    2    6    6 =TEXT|1.3
   2    5    9    9 -VAL |
   2    5    9    9 -NODE|
   2    5    9    9 =EOL |\x0a
   3    0   10   10 -PAIR|
   3    0   10   10 +PAIR|
   3    0   10   10 +NODE|
   3    0   10   10 +VAL |
   3    0   10   10 =TEXT|fifteen
   3    7   17   17 -VAL |
   3    7   17   17 -NODE|
   3    7   17   17 =SYNX|:
   3    8   18   18 =WSPC|.
   3    9   19   19 +NODE|
   3    9   19   19 +VAL |
   3    9   19   19 =TEXT|d
   3   10   20   20 -VAL |
   3   10   20   20 -NODE|
   3   10   20   20 =EOL |\x0a
   4    0   21   21 -PAIR|
   4    0   21   21 -MAP |
   4    0   21   21 -NODE|
   4    0   21   21 -DOC |

perl-pp-perl

 na
{
  'a' => '1.3',
  'fifteen' => 'd'
}

perl-pplibyaml-perl

 na
{
  'a' => '1.3',
  'fifteen' => 'd'
}

perl-syck-perl

 na
{
  'a' => '1.3',
  'fifteen' => 'd'
}

perl-xs-perl

 na
{
  'a' => '1.3',
  'fifteen' => 'd'
}

perl-yaml-perl

 na
{
  'a' => '1.3',
  'fifteen' => 'd'
}

py-pyyaml-py

 na
{'a': 1.3, 'fifteen': 'd'}

py-ruamel-py

 na
{'a': 1.3, 'fifteen': 'd'}

perl-tiny-json

 ni
YAML::Tiny does not support a feature in line '? a' at /yaml/bin/perl-tiny-json line 12.

perl-tiny-perl

 ni
YAML::Tiny does not support a feature in line '? a' at /yaml/bin/perl-tiny-perl line 15.