--- &test-UDM2
Title: Plain URL in flow mapping
Tags: [ flow, scalar ]
- { url: http://example.org }
+STR
+DOC
+SEQ
+MAP {}
=VAL :url
=VAL :http://example.org
-MAP
-SEQ
-DOC
-STR
[
{
"url": "http://example.org"
}
]
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 =WSPC|.
1 2 2 2 +NODE|
1 2 2 2 +MAP |
1 2 2 2 =SYNX|{
1 3 3 3 =WSPC|.
1 4 4 4 +PAIR|
1 4 4 4 +NODE|
1 4 4 4 +VAL |
1 4 4 4 =TEXT|url
1 7 7 7 -VAL |
1 7 7 7 -NODE|
1 7 7 7 =SYNX|:
1 8 8 8 =WSPC|.
1 9 9 9 +NODE|
1 9 9 9 +VAL |
1 9 9 9 =TEXT|http://example.org
1 27 27 27 -VAL |
1 27 27 27 -NODE|
1 27 27 27 -PAIR|
1 27 27 27 =WSPC|.
1 28 28 28 =SYNX|}
1 29 29 29 -MAP |
1 29 29 29 -NODE|
1 29 29 29 =EOL |\x0a
2 0 30 30 -SEQ |
2 0 30 30 -NODE|
2 0 30 30 -DOC |
na
[
{
'url' => 'http://example.org'
}
]
na
[
{
'url' => 'http://example.org'
}
]
na
[
{
'url' => 'http://example.org'
}
]
na
[
{
'url' => 'http://example.org'
}
]
na
[
{
'url' => 'http://example.org'
}
]
na
[{'url': 'http://example.org'}]
na
[{'url': 'http://example.org'}]
ni
YAML::Tiny found illegal characters in plain scalar: '{ url: http://example.org }' at /yaml/bin/perl-tiny-json line 12.
ni
YAML::Tiny found illegal characters in plain scalar: '{ url: http://example.org }' at /yaml/bin/perl-tiny-perl line 15.