--- &test-8UDB
Title: Spec Example 7.14. Flow Sequence Entries
Tags: [ flow, sequence, spec ]
[
"double
quoted", 'single
quoted',
plain
text, [ nested ],
single: pair,
]
+STR
+DOC
+SEQ []
=VAL "double quoted
=VAL 'single quoted
=VAL :plain text
+SEQ []
=VAL :nested
-SEQ
+MAP {}
=VAL :single
=VAL :pair
-MAP
-SEQ
-DOC
-STR
[
"double quoted",
"single quoted",
"plain text",
[
"nested"
],
{
"single": "pair"
}
]
error
Syck parser (line 6, column 5): syntax error at /perl5/lib/perl5/x86_64-linux-thread-multi/YAML/Syck.pm line 60, <> line 1.
error
Syck parser (line 6, column 5): syntax error at /perl5/lib/perl5/x86_64-linux-thread-multi/YAML/Syck.pm line 60, <> line 1.
error
YAML Error: Expected separator '---'
Code: YAML_PARSE_ERR_NO_SEPARATOR
Line: 1
Document: 2
at /perl5/lib/perl5/YAML/Loader.pm line 88.
error
YAML Error: Expected separator '---'
Code: YAML_PARSE_ERR_NO_SEPARATOR
Line: 1
Document: 2
at /perl5/lib/perl5/YAML/Loader.pm line 88.
na
Line Col Char Byte Token|Content
1 0 0 0 +DOC |
1 0 0 0 +NODE|
1 0 0 0 +SEQ |
1 0 0 0 =SYNX|[
1 1 1 1 =EOL |\x0a
2 0 2 2 +NODE|
2 0 2 2 +VAL |
2 0 2 2 =SYNX|"
2 1 3 3 =TEXT|double
2 7 9 9 =FOLD|\x0a
3 0 10 10 =WSPC|.
3 1 11 11 =TEXT|quoted
3 7 17 17 =SYNX|"
3 8 18 18 -VAL |
3 8 18 18 -NODE|
3 8 18 18 =SYNX|,
3 9 19 19 =WSPC|.
3 10 20 20 +NODE|
3 10 20 20 +VAL |
3 10 20 20 =SYNX|'
3 11 21 21 =TEXT|single
3 17 27 27 =FOLD|\x0a
4 0 28 28 =WSPC|...........
4 11 39 39 =TEXT|quoted
4 17 45 45 =SYNX|'
4 18 46 46 -VAL |
4 18 46 46 -NODE|
4 18 46 46 =SYNX|,
4 19 47 47 =EOL |\x0a
5 0 48 48 +NODE|
5 0 48 48 +VAL |
5 0 48 48 =TEXT|plain
5 5 53 53 =FOLD|\x0a
6 0 54 54 =WSPC|.
6 1 55 55 =TEXT|text
6 5 59 59 -VAL |
6 5 59 59 -NODE|
6 5 59 59 =SYNX|,
6 6 60 60 =WSPC|.
6 7 61 61 +NODE|
6 7 61 61 +SEQ |
6 7 61 61 =SYNX|[
6 8 62 62 =WSPC|.
6 9 63 63 +NODE|
6 9 63 63 +VAL |
6 9 63 63 =TEXT|nested
6 15 69 69 -VAL |
6 15 69 69 -NODE|
6 15 69 69 =WSPC|.
6 16 70 70 =SYNX|]
6 17 71 71 -SEQ |
6 17 71 71 -NODE|
6 17 71 71 =SYNX|,
6 18 72 72 =EOL |\x0a
7 0 73 73 +MAP |
7 0 73 73 +PAIR|
7 0 73 73 +NODE|
7 0 73 73 +VAL |
7 0 73 73 =TEXT|single
7 6 79 79 -VAL |
7 6 79 79 -NODE|
7 6 79 79 =SYNX|:
7 7 80 80 =WSPC|.
7 8 81 81 +NODE|
7 8 81 81 +VAL |
7 8 81 81 =TEXT|pair
7 12 85 85 -VAL |
7 12 85 85 -NODE|
7 12 85 85 -PAIR|
7 12 85 85 -MAP |
7 12 85 85 =SYNX|,
7 13 86 86 =EOL |\x0a
8 0 87 87 =SYNX|]
8 1 88 88 -SEQ |
8 1 88 88 -NODE|
8 1 88 88 =EOL |\x0a
9 0 89 89 -DOC |
na
[
'double quoted',
'single quoted',
'plain text',
[
'nested'
],
{
'single' => 'pair'
}
]
na
[
'double quoted',
'single quoted',
'plain text',
[
'nested'
],
{
'single' => 'pair'
}
]
na
[
'double quoted',
'single quoted',
'plain text',
[
'nested'
],
{
'single' => 'pair'
}
]
na
['double quoted', 'single quoted', 'plain text', ['nested'], {'single': 'pair'}]
na
['double quoted', 'single quoted', 'plain text', ['nested'], {'single': 'pair'}]
ni
YAML::Tiny failed to classify line '[' at /yaml/bin/perl-tiny-json line 12.
ni
YAML::Tiny failed to classify line '[' at /yaml/bin/perl-tiny-perl line 15.