--- &test-7W2P
Title: Block Mapping with Missing Values
Tags: [ explicit-key, mapping ]
+STR
+DOC
+MAP
=VAL :a
=VAL :
=VAL :b
=VAL :
=VAL :c
=VAL :
-MAP
-DOC
-STR
{
"a": null,
"b": null,
"c": null
}
json_diff
{
"a": {},
"b": {},
"c": {}
}
error
Syck parser (line 2, column 2): syntax error at /perl5/lib/perl5/x86_64-linux-thread-multi/YAML/Syck.pm line 60, <> line 1.
error
Syck parser (line 2, column 2): syntax error at /perl5/lib/perl5/x86_64-linux-thread-multi/YAML/Syck.pm line 60, <> line 1.
error
YAML Error: Invalid element in map
Code: YAML_LOAD_ERR_BAD_MAP_ELEMENT
Line: 2
Document: 1
at /perl5/lib/perl5/YAML/Loader.pm line 360.
error
YAML Error: Invalid element in map
Code: YAML_LOAD_ERR_BAD_MAP_ELEMENT
Line: 2
Document: 1
at /perl5/lib/perl5/YAML/Loader.pm line 360.
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 +NODE|
2 0 4 4 +VAL |
2 0 4 4 -VAL |
2 0 4 4 -NODE|
2 0 4 4 -PAIR|
2 0 4 4 +PAIR|
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|b
2 3 7 7 -VAL |
2 3 7 7 -NODE|
2 3 7 7 =EOL |\x0a
3 0 8 8 +NODE|
3 0 8 8 +VAL |
3 0 8 8 -VAL |
3 0 8 8 -NODE|
3 0 8 8 -PAIR|
3 0 8 8 +PAIR|
3 0 8 8 +NODE|
3 0 8 8 +VAL |
3 0 8 8 =TEXT|c
3 1 9 9 -VAL |
3 1 9 9 -NODE|
3 1 9 9 =SYNX|:
3 2 10 10 +NODE|
3 2 10 10 +VAL |
3 2 10 10 -VAL |
3 2 10 10 -NODE|
3 2 10 10 =EOL |\x0a
4 0 11 11 -PAIR|
4 0 11 11 -MAP |
4 0 11 11 -NODE|
4 0 11 11 -DOC |
na
{
'a' => undef,
'b' => undef,
'c' => undef
}
na
{
'a' => undef,
'b' => undef,
'c' => undef
}
na
{
'a' => undef,
'b' => undef,
'c' => undef
}
na
{'a': None, 'b': None, 'c': None}
na
{'a': None, 'b': None, 'c': None}
ni
YAML::Tiny does not support a feature in line '? a' at /yaml/bin/perl-tiny-json line 12.
ni
YAML::Tiny does not support a feature in line '? a' at /yaml/bin/perl-tiny-perl line 15.