Permalink
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (26 sloc) 450 Bytes
=== Allowed characters in quoted mapping key
--- from: @perlpunk
--- tags: mapping single double
--- in-yaml
"foo\nbar:baz\tx \\$%^&*()x": 23
'x\ny:z\tx $%^&*()x': 24
--- in-json
{
"foo\nbar:baz\tx \\$%^&*()x": 23,
"x\\ny:z\\tx $%^&*()x": 24
}
--- out-yaml
? "foo\nbar:baz\tx \\$%^&*()x"
: 23
'x\ny:z\tx $%^&*()x': 24
--- test-event
+STR
+DOC
+MAP
=VAL "foo\nbar:baz\tx \\$%^&*()x
=VAL :23
=VAL 'x\\ny:z\\tx $%^&*()x
=VAL :24
-MAP
-DOC
-STR