generated/2184

sha256 8c9dbef4ad867a657141b316fb6f239675256b28de20fa830e28a80805c38375

Document

"\x62\x61\x73\x65": &m1
    "\x62\x30": -2
    "\x62\x31": 1
    "\x62\x32": -9
"\x69\x74\x65\x6D":
    <<: !!map
        "\x63\x30": 8
    "\x64\x30": -1

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/anchor node/tag-shorthand presentation/escape-hex presentation/plain presentation/quoted-double value/int value/mapping value/merge-key value/non-string-key
meaning (yaml-1.2-core){"base":{"b0":-2,"b1":1,"b2":-9},"item":{"\u003c\u003c":{"c0":8},"d0":-1}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml

{"base":{"b0":-2,"b1":1,"b2":-9},"item":{"\u003c\u003c":{"c0":8},"d0":-1}}

yaml.v3

{"base":{"b0":-2,"b1":1,"b2":-9},"item":{"c0":8,"d0":-1}}

yamlstar

{"105116101109":{"10048":-1,"9948":8},"9897115101":{"9848":-2,"9849":1,"9850":-9}}

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.