generated/1194

sha256 cecb8019c17f97c40683cdeae5eb94c557d3e346bcdb10a8bf4afda9b0bf97cb

Document

---
base:
 &m1
 b0: 0x0
 b1: -3
 b2: 0x9
item:
 <<:
  &m2
  c0: -6
 d0: 0x9
again: *m2

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/crlf node/alias node/anchor presentation/document-marker presentation/number-hex presentation/plain presentation/property-line value/int value/mapping value/merge-key value/non-string-key
meaning (yaml-1.2-core){"again":{"c0":-6},"base":{"b0":0,"b1":-3,"b2":9},"item":{"\u003c\u003c":{"c0":-6},"d0":9}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml

{"again":{"c0":-6},"base":{"b0":0,"b1":-3,"b2":9},"item":{"\u003c\u003c":{"c0":-6},"d0":9}}

yaml.v3

{"again":{"c0":-6},"base":{"b0":0,"b1":-3,"b2":9},"item":{"c0":-6,"d0":9}}

yamlstar

{"again":{"c0":-6},"base":{"b0":"0x0","b1":-3,"b2":"0x9"},"item":{"c0":-6,"d0":"0x9"}}

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: int-non-decimal-as-string: the loader leaves an integer written 0x or 0o a string, where the core schema reads 0x1A as 26 and 0o17 as 15
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.