generated/431

sha256 4e3849575cccc0343bbb0b348be35695e5057604c813929352061578d9e6b29a

Document

---
!!set
# c1
? "base"
:
      &m1
      # c2
      ? "b0"
      : -3
      # c3
      ? "b1"
      : -5
# c4
? "item"
:
      !
      # c5
      ? <<
      :
            &m2
            # c6
            ? "c0"
            : -6
            # c7
            ? "c1"
            : 9
      # c8
      ? "d0"
      : -8
      # c9
      ? "d1"
      : 1
# c10
? "again"
: *m2

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/alias node/anchor node/tag-non-specific node/tag-shorthand presentation/comment-above presentation/document-marker presentation/explicit-key presentation/plain presentation/property-line presentation/quoted-double value/int value/mapping value/merge-key value/non-string-key
meaning (yaml-1.2-core){"again":{"c0":-6,"c1":9},"base":{"b0":-3,"b1":-5},"item":{"\u003c\u003c":{"c0":-6,"c1":9},"d0":-8,"d1":1}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml

{"again":{"c0":-6,"c1":9},"base":{"b0":-3,"b1":-5},"item":{"\u003c\u003c":{"c0":-6,"c1":9},"d0":-8,"d1":1}}

yaml.v3 yamlstar

{"again":{"c0":-6,"c1":9},"base":{"b0":-3,"b1":-5},"item":{"c0":-6,"c1":9,"d0":-8,"d1":1}}

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.