generated/1860

sha256 e8db50f9f8ae019956c0d2085dab889ca178336259eebf0d828ec87b34278c89

Document

---
? base
:
   &m1
   ? b0
   : 2
   ? b1
   : -7
? !!str item
:
   ? &k1 <<
   : *m1
   ? d0
   : -9

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
featuresbreak/crlf encoding/byte-order-mark node/alias node/anchor node/tag-shorthand presentation/document-marker presentation/explicit-key presentation/plain presentation/property-line value/int value/mapping value/merge-key value/non-string-key
meaning (yaml-1.2-core){"base":{"b0":2,"b1":-7},"item":{"\u003c\u003c":{"b0":2,"b1":-7},"d0":-9}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml

{"base":{"b0":2,"b1":-7},"item":{"\u003c\u003c":{"b0":2,"b1":-7},"d0":-9}}

yaml.v3 yamlstar

{"base":{"b0":2,"b1":-7},"item":{"b0":2,"b1":-7,"d0":-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: 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.