generated/525

sha256 f81f9aa57a4165c131526f89d08d3600326473efa45d235ba076e8463a22084e

Document

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

Corpus

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

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml

{"base":{"b0":1,"b1":-7},"item":{"\u003c\u003c":[{"c0":7,"c1":-2},{"b0":1,"b1":-7}],"b0":99}}

yaml.v3 yamlstar

{"base":{"b0":1,"b1":-7},"item":{"b0":99,"b1":-7,"c0":7,"c1":-2}}

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.