YAML Framework Matrix

Test #MXS3 - Flow Mapping in Block Sequence

YAML

- {a: b}

Expected Events

+STR
+DOC
+SEQ
+MAP
=VAL :a
=VAL :b
-MAP
-SEQ
-DOC
-STR

Expected JSON

[
{
"a" : "b"
}
]

cpp-event

 ok

java-event

 ok

java-json

 json_ok

js-yaml-json

 json_ok

libyaml-event

 ok

luajit-json

 json_ok

nimyaml-event

 ok

perl5-pegex-event

 ok

perl5-pm-json

 json_ok

perl5-pm-pl

 n/a
[
  {
    'a' => 'b'
  }
]

perl5-pp-event

 error
+STR
+DOC
+SEQ
Not Implemented: Flow Style at /lib/perl5/YAML/PP/Parser.pm line 672, <> line 1.

perl5-pp-json

 error
Not Implemented: Flow Style at /lib/perl5/YAML/PP/Parser.pm line 672, <> line 1.

perl5-pp-pl

 error
Not Implemented: Flow Style at /lib/perl5/YAML/PP/Parser.pm line 672, <> line 1.

perl5-syck-json

 json_ok

perl5-syck-pl

 n/a
[
  {
    'a' => 'b'
  }
]

perl5-tiny-json

 json_diff
[
   {
      "{a" : "b}"
   }
]

perl5-tiny-pl

 n/a
[
  {
    '{a' => 'b}'
  }
]

perl5-xs-json

 json_ok

perl5-xs-pl

 n/a
[
  {
    'a' => 'b'
  }
]

pyyaml-event

 ok

ruamel-event

 ok

ruby-json

 json_ok