generated/2484

sha256 08f0471425ac5bf9f1fe62bd25eb29139f34846bc9b7d6b62f1a1a0a72b0bffb

Document

# c1
&a1 "": "\x20\x20" # c2
# c3
"\x61\x5C\x6E\x62": &a2 NULL # c4

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/crlf node/anchor presentation/comment-above presentation/comment-inline presentation/escape-hex presentation/plain presentation/quoted-double value/mapping value/non-string-key value/null value/string
meaning (yaml-1.2-core){"":" ","a\\nb":null}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml yaml.v3

{"":"  ","a\\nb":null}

yamlstar

{"":"3232","979211098":null}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept ok n/i
yamlstar accepted accept different, explained n/i value: escape-as-decimal: the reference parser writes a \x, \u or \U escape as the decimal number of its code point instead of the character: "\u00e9" comes back as "233", and "\x2D\x61" as "4597"
yaml.v3 accepted accept ok same
go-yaml accepted accept ok same

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.