generated/1462

sha256 566fb3adf7160213bc06625830f388cf1cb81160288060c8382f62ae1db2fdec

Document

%TAG !x! tag:yaml.org,2002:
---
? 'base'
: # c1
  &m1
  ? 'b0'
  : -4 # c2
  ? 'b1'
  : 5 # c3
  ? 'b2'
  : -1 # c4
? 'item'
: # c5
  !x!map
  ? <<
  : # c6
    - *m1 # c7
    - # c8
      ? 'c0'
      : -7 # c9
  ? 'd0'
  : -4 # c10
  ? 'b0'
  : 99 # c11

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/crlf node/alias node/anchor node/tag-handle presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/plain presentation/property-line presentation/quoted-single presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (yaml-1.2-core){"base":{"b0":-4,"b1":5,"b2":-1},"item":{"\u003c\u003c":[{"b0":-4,"b1":5,"b2":-1},{"c0":-7}],"b0":99,"d0":-4}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml

{"base":{"b0":-4,"b1":5,"b2":-1},"item":{"\u003c\u003c":[{"b0":-4,"b1":5,"b2":-1},{"c0":-7}],"b0":99,"d0":-4}}

yaml.v3 yamlstar

{"base":{"b0":-4,"b1":5,"b2":-1},"item":{"b0":99,"b1":5,"b2":-1,"c0":-7,"d0":-4}}

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.