--- &test-A984
Title: Multiline Scalar in Mapping
Tags: [ scalar ]
+STR
+DOC
+MAP
=VAL :a
=VAL :b c
=VAL :d
=VAL :e f
-MAP
-DOC
-STR
{
"a": "b c",
"d": "e f"
}
error
YAML::Tiny found bad indenting in line ' c' at /yaml/bin/perl-tiny-json line 12.
error
YAML::Tiny found bad indenting in line ' c' at /yaml/bin/perl-tiny-perl line 15.
error
YAML Error: Inconsistent indentation level
Code: YAML_PARSE_ERR_INCONSISTENT_INDENTATION
Line: 2
Document: 1
at /perl5/lib/perl5/YAML/Loader.pm line 804.
error
YAML Error: Inconsistent indentation level
Code: YAML_PARSE_ERR_INCONSISTENT_INDENTATION
Line: 2
Document: 1
at /perl5/lib/perl5/YAML/Loader.pm line 804.
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 +NODE|
1 0 0 0 +VAL |
1 0 0 0 =TEXT|a
1 1 1 1 -VAL |
1 1 1 1 -NODE|
1 1 1 1 =SYNX|:
1 2 2 2 =WSPC|.
1 3 3 3 +NODE|
1 3 3 3 +VAL |
1 3 3 3 =TEXT|b
1 4 4 4 =FOLD|\x0a
2 0 5 5 =DENT|.
2 1 6 6 =TEXT|c
2 2 7 7 -VAL |
2 2 7 7 -NODE|
2 2 7 7 =EOL |\x0a
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|d
3 1 9 9 -VAL |
3 1 9 9 -NODE|
3 1 9 9 =SYNX|:
3 2 10 10 =EOL |\x0a
4 0 11 11 =DENT|.
4 1 12 12 +NODE|
4 1 12 12 +VAL |
4 1 12 12 =TEXT|e
4 2 13 13 =FOLD|\x0a
5 0 14 14 =DENT|.
5 1 15 15 =WSPC|.
5 2 16 16 =TEXT|f
5 3 17 17 -VAL |
5 3 17 17 -NODE|
5 3 17 17 =EOL |\x0a
6 0 18 18 -PAIR|
6 0 18 18 -MAP |
6 0 18 18 -NODE|
6 0 18 18 -DOC |
na
{
'a' => 'b c',
'd' => 'e f'
}
na
{
'a' => 'b c',
'd' => 'e f'
}
na
{
'a' => 'b c',
'd' => 'e f'
}
na
{
'a' => 'b c',
'd' => 'e f'
}
na
{'a': 'b c', 'd': 'e f'}
na
{'a': 'b c', 'd': 'e f'}