--- &test-8QBE
Title: Block Sequence in Block Mapping
Tags: [ mapping, sequence ]
+STR
+DOC
+MAP
=VAL :key
+SEQ
=VAL :item1
=VAL :item2
-SEQ
-MAP
-DOC
-STR
{
"key": [
"item1",
"item2"
]
}
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|key
1 3 3 3 -VAL |
1 3 3 3 -NODE|
1 3 3 3 =SYNX|:
1 4 4 4 +NODE|
1 4 4 4 =EOL |\x0a
2 0 5 5 +SEQ |
2 0 5 5 =DENT|.
2 1 6 6 =SYNX|-
2 2 7 7 =WSPC|.
2 3 8 8 +NODE|
2 3 8 8 +VAL |
2 3 8 8 =TEXT|item1
2 8 13 13 -VAL |
2 8 13 13 -NODE|
2 8 13 13 =EOL |\x0a
3 0 14 14 =DENT|.
3 1 15 15 =SYNX|-
3 2 16 16 =WSPC|.
3 3 17 17 +NODE|
3 3 17 17 +VAL |
3 3 17 17 =TEXT|item2
3 8 22 22 -VAL |
3 8 22 22 -NODE|
3 8 22 22 =EOL |\x0a
4 0 23 23 -SEQ |
4 0 23 23 -NODE|
4 0 23 23 -PAIR|
4 0 23 23 -MAP |
4 0 23 23 -NODE|
4 0 23 23 -DOC |
na
{
'key' => [
'item1',
'item2'
]
}
na
{
'key' => [
'item1',
'item2'
]
}
na
{
'key' => [
'item1',
'item2'
]
}
na
{
'key' => [
'item1',
'item2'
]
}
na
{
'key' => [
'item1',
'item2'
]
}
na
{
'key' => [
'item1',
'item2'
]
}
na
{'key': ['item1', 'item2']}
na
{'key': ['item1', 'item2']}