generated/1882

sha256 84a1657b1e08a081e0f2986b8fdfecbea72dec4cd02cf769544cef40fddfe040

Document

%TAG !e! tag:yaml.org,2002:
---
<<: !e!seq ['merged0': 04, 'merged3': 02]
'': &a1 !e!null null

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
featuresbreak/cr encoding/byte-order-mark node/anchor node/tag-handle presentation/document-marker presentation/flow-collection presentation/flow-pair presentation/plain presentation/quoted-single presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key value/null value/sequence
meaning (yaml-1.2-core){"":null,"\u003c\u003c":[{"merged0":4},{"merged3":2}]}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml

{"":null,"\u003c\u003c":[{"merged0":4},{"merged3":2}]}

yaml.v3 yamlstar

{"":null,"merged0":4,"merged3":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.