generated/1589

sha256 74c5e1728e6ff06ef8d9ef83731d5e4f0eb3a2e140ac0d279fef3d46c87bec9b

Document

%TAG !n-1! tag:yaml.org,2002:
---
# c1
base:
 &m1
 # c2
 b0: -8
# c3
item:
 # c4
 <<:
  !n-1!seq
  # c5
  -
   # c6
   c0: 7
  # c7
  - *m1
 # c8
 d0: 9
 # c9
 b0: !n-1!int 99

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/alias node/anchor node/tag-handle presentation/comment-above presentation/document-marker presentation/plain presentation/property-line presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (yaml-1.2-core){"base":{"b0":-8},"item":{"\u003c\u003c":[{"c0":7},{"b0":-8}],"b0":99,"d0":9}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml

{"base":{"b0":-8},"item":{"\u003c\u003c":[{"c0":7},{"b0":-8}],"b0":99,"d0":9}}

yaml.v3 yamlstar

{"base":{"b0":-8},"item":{"b0":99,"c0":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.