generated/2301

sha256 5a27011dde69fd587be7ba590d4f55acec50daa21485d9e13bfd00f5a09cab12

Document

# c1
"\x62\x61\x73\x65": &m1	# c2
     # c3
     "\x62\x30":	4	# c4
     # c5
     "\x62\x31":	-1	# c6
# c7
"\x69\x74\x65\x6D":	# c8
     # c9
     <<:	*m1	# c10
     # c11
     "\x62\x30": !!int	99	# c12

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/alias node/anchor node/tag-shorthand presentation/comment-above presentation/comment-inline presentation/escape-hex presentation/plain presentation/quoted-double presentation/tab-separation value/int value/mapping value/merge-key value/non-string-key
meaning (yaml-1.2-core){"base":{"b0":4,"b1":-1},"item":{"\u003c\u003c":{"b0":4,"b1":-1},"b0":99}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml

{"base":{"b0":4,"b1":-1},"item":{"\u003c\u003c":{"b0":4,"b1":-1},"b0":99}}

yaml.v3

{"base":{"b0":4,"b1":-1},"item":{"b0":99,"b1":-1}}

yamlstar

{"105116101109":{"9848":99,"9849":-1},"9897115101":{"9848":4,"9849":-1}}

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 different, explained same value: merge-key-applied: yaml.v3 applies the 1.1 merge key: it merges the mapping under "<<" into the mapping that holds it, where the core schema keeps "<<" as a plain key
go-yaml accepted accept ok same

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