generated/612

sha256 13db6152d63149c25fe4bdf7e8c6b2d3b6317d548d845ade1b0031fa8633ae86

Document

---
&a2 {? <<: &a1 {? 'merged0': -2}, ? ' both ': '.nan'}

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/anchor presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/plain presentation/quoted-single value/int value/mapping value/merge-key value/non-string-key value/string
meaning (yaml-1.2-core){" both ":".nan","\u003c\u003c":{"merged0":-2}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml

{" both ":".nan","\u003c\u003c":{"merged0":-2}}

yaml.v3 yamlstar

{" both ":".nan","merged0":-2}

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: merge-key-applied: the loader 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
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.