generated/2992

sha256 68f4256bbafd3def3e0d2e49073c3e101082621fd11d12b940cd654fa4adfdb4

Document

# c1
"base": # c2
   &m1
   # c3
   "b0": -1 # c4
# c5
"item": # c6
   # c7
   &k1 <<: # c8
      &m2
      # c9
      "c0": -9 # c10
      # c11
      "c1": -1 # c12
   # c13
   "d0": -1 # c14
   # c15
   "d1": +0 # c16
# c17
"again": *m2 # c18

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/alias node/anchor presentation/comment-above presentation/comment-inline presentation/number-signed 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":-9,"c1":-1},"base":{"b0":-1},"item":{"\u003c\u003c":{"c0":-9,"c1":-1},"d0":-1,"d1":0}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml

{"again":{"c0":-9,"c1":-1},"base":{"b0":-1},"item":{"\u003c\u003c":{"c0":-9,"c1":-1},"d0":-1,"d1":0}}

yaml.v3 yamlstar

{"again":{"c0":-9,"c1":-1},"base":{"b0":-1},"item":{"c0":-9,"c1":-1,"d0":-1,"d1":0}}

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.