--- &test-652Z
Title: Question mark at start of flow key
Tags: [ flow ]
+STR
+DOC
+MAP {}
=VAL :?foo
=VAL :bar
=VAL :bar
=VAL :42
-MAP
-DOC
-STR
{
"?foo": "bar",
"bar": 42
}
diff
Got Events:
+STR
+DOC
+MAP {}
=VAL :foo
=VAL :bar
=VAL :bar
=VAL :42
-MAP
-DOC
-STR
diff
Minimal Events:
+STR
+DOC
+MAP
=VAL :?foo
=VAL :bar
=VAL :bar
=VAL :42
-MAP
-DOC
-STR
Got Events:
+STR
+DOC
+MAP
=VAL :foo
=VAL :bar
=VAL :bar
=VAL :42
-MAP
-DOC
-STR
diff
Got Events:
+STR
+DOC
+MAP {}
=VAL :foo
=VAL :bar
=VAL :bar
=VAL :42
-MAP
-DOC
-STR
diff
Got Events:
+STR
+DOC
+MAP {}
=VAL :foo
=VAL :bar
=VAL :bar
=VAL :42
-MAP
-DOC
-STR
json_diff
{
"bar": "42",
"foo": "bar"
}
json_diff
{
"bar": 42,
"foo": "bar"
}
json_diff
{
"bar": 42,
"foo": "bar"
}
json_diff
{
"bar": 42,
"foo": "bar"
}
json_diff
{
"bar": 42,
"foo": "bar"
}
json_diff
{
"bar": 42,
"foo": "bar"
}
json_diff
{
"bar": 42,
"foo": "bar"
}
json_diff
{
"bar": 42,
"foo": "bar"
}
error
+STR
Exception:
yaml-cpp: error at line 1, column 3: unknown token
error
+STR
+DOC
+MAP {}
-MAP
Parsing error near byte offset Pos {posByteOffset = 2, posCharOffset = 2, posLine = 1, posColumn = 2} (Unexpected '?')
error
hsyaml-parser: user error (Unexpected '?')
error
YAML Error: Can't parse inline map
Code: YAML_PARSE_ERR_INLINE_MAP
Line: 1
Document: 1
at /perl5/lib/perl5/YAML/Loader.pm line 522.
error
YAML Error: Can't parse inline map
Code: YAML_PARSE_ERR_INLINE_MAP
Line: 1
Document: 1
at /perl5/lib/perl5/YAML/Loader.pm line 522.
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 =SYNX|{
1 1 1 1 =WSPC|.
1 2 2 2 -MAP |
1 2 2 2 -NODE|
1 2 2 2 =ERR |Unexpected.'?'
1 2 2 2 =REST|?foo:.bar,
1 12 12 12 =REST|\x0a
2 0 13 13 =REST|bar:.42
2 7 20 20 =REST|\x0a
3 0 21 21 =REST|}
3 1 22 22 =REST|\x0a
4 0 23 23 -DOC |
na
{
'?foo' => 'bar',
'bar' => 42
}
na
{
'bar' => 42,
'foo' => 'bar'
}
na
{
'?foo' => 'bar',
'bar' => 42
}
na
{
'bar' => 42,
'foo' => 'bar'
}
na
{'bar': 42, 'foo': 'bar'}
na
{'bar': 42, 'foo': 'bar'}
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.