generated/2982

sha256 2dc2b3143171d43e6091f2d5d46ca3cc13a59f4d9740f7bff4520bd242e933cf

Document

&a1
# c1
? <<
: # c2
     # c3
     ? "\x2D\x31\x5F\x30"
     : -6 # c4
# c5
? "\x2D\x31\x5F\x30"
: NULL # c6

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/anchor presentation/comment-above presentation/comment-inline presentation/escape-hex presentation/explicit-key presentation/plain presentation/quoted-double value/int value/mapping value/merge-key value/non-string-key value/null
meaning (yaml-1.2-core){"-1_0":null,"\u003c\u003c":{"-1_0":-6}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml

{"-1_0":null,"\u003c\u003c":{"-1_0":-6}}

yaml.v3

{"-1_0":null}

yamlstar

{"45499548":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 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.