--- &test-M7NX
Title: Nested flow collections
Tags: [ flow, mapping, sequence ]
---
{
a: [
b, c, {
d: [e, f]
}
]
}
+STR
+DOC ---
+MAP {}
=VAL :a
+SEQ []
=VAL :b
=VAL :c
+MAP {}
=VAL :d
+SEQ []
=VAL :e
=VAL :f
-SEQ
-MAP
-SEQ
-MAP
-DOC
-STR
{
"a": [
"b",
"c",
{
"d": [
"e",
"f"
]
}
]
}
error
YAML Error: Expected separator '---'
Code: YAML_PARSE_ERR_NO_SEPARATOR
Line: 2
Document: 2
at /perl5/lib/perl5/YAML/Loader.pm line 88.
error
YAML Error: Expected separator '---'
Code: YAML_PARSE_ERR_NO_SEPARATOR
Line: 2
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 =HEAD|---
1 3 3 3 =EOL |\x0a
2 0 4 4 +NODE|
2 0 4 4 +MAP |
2 0 4 4 =SYNX|{
2 1 5 5 =EOL |\x0a
3 0 6 6 =WSPC|.
3 1 7 7 +PAIR|
3 1 7 7 +NODE|
3 1 7 7 +VAL |
3 1 7 7 =TEXT|a
3 2 8 8 -VAL |
3 2 8 8 -NODE|
3 2 8 8 =SYNX|:
3 3 9 9 =WSPC|.
3 4 10 10 +NODE|
3 4 10 10 +SEQ |
3 4 10 10 =SYNX|[
3 5 11 11 =EOL |\x0a
4 0 12 12 =WSPC|..
4 2 14 14 +NODE|
4 2 14 14 +VAL |
4 2 14 14 =TEXT|b
4 3 15 15 -VAL |
4 3 15 15 -NODE|
4 3 15 15 =SYNX|,
4 4 16 16 =WSPC|.
4 5 17 17 +NODE|
4 5 17 17 +VAL |
4 5 17 17 =TEXT|c
4 6 18 18 -VAL |
4 6 18 18 -NODE|
4 6 18 18 =SYNX|,
4 7 19 19 =WSPC|.
4 8 20 20 +NODE|
4 8 20 20 +MAP |
4 8 20 20 =SYNX|{
4 9 21 21 =EOL |\x0a
5 0 22 22 =WSPC|...
5 3 25 25 +PAIR|
5 3 25 25 +NODE|
5 3 25 25 +VAL |
5 3 25 25 =TEXT|d
5 4 26 26 -VAL |
5 4 26 26 -NODE|
5 4 26 26 =SYNX|:
5 5 27 27 =WSPC|.
5 6 28 28 +NODE|
5 6 28 28 +SEQ |
5 6 28 28 =SYNX|[
5 7 29 29 +NODE|
5 7 29 29 +VAL |
5 7 29 29 =TEXT|e
5 8 30 30 -VAL |
5 8 30 30 -NODE|
5 8 30 30 =SYNX|,
5 9 31 31 =WSPC|.
5 10 32 32 +NODE|
5 10 32 32 +VAL |
5 10 32 32 =TEXT|f
5 11 33 33 -VAL |
5 11 33 33 -NODE|
5 11 33 33 =SYNX|]
5 12 34 34 -SEQ |
5 12 34 34 -NODE|
5 12 34 34 -PAIR|
5 12 34 34 =EOL |\x0a
6 0 35 35 =WSPC|..
6 2 37 37 =SYNX|}
6 3 38 38 -MAP |
6 3 38 38 -NODE|
6 3 38 38 =EOL |\x0a
7 0 39 39 =WSPC|.
7 1 40 40 =SYNX|]
7 2 41 41 -SEQ |
7 2 41 41 -NODE|
7 2 41 41 -PAIR|
7 2 41 41 =EOL |\x0a
8 0 42 42 =SYNX|}
8 1 43 43 -MAP |
8 1 43 43 -NODE|
8 1 43 43 =EOL |\x0a
9 0 44 44 -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']}]}
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.