--- &test-GH63
Title: Mixed Block Mapping (explicit to implicit)
Tags: [ explicit-key, mapping ]
+STR
+DOC
+MAP
=VAL :a
=VAL :1.3
=VAL :fifteen
=VAL :d
-MAP
-DOC
-STR
{
"a": 1.3,
"fifteen": "d"
}
json_diff
{
"a": "1.3",
"fifteen": "d"
}
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 |
na
{
'a' => '1.3',
'fifteen' => 'd'
}
na
{
'a' => '1.3',
'fifteen' => 'd'
}
na
{
'a' => '1.3',
'fifteen' => 'd'
}
na
{
'a' => '1.3',
'fifteen' => 'd'
}
na
{
'a' => '1.3',
'fifteen' => 'd'
}
na
{'a': 1.3, 'fifteen': 'd'}
na
{'a': 1.3, 'fifteen': 'd'}
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.