generated/1218

sha256 3e54482099a1a3c5084d463b99456c16c410c126bb678e92032973787cf0b5cb

Document

!!merge &a1 <<:
     !!seq &a2
     -
          'merged3': -5
     -
          'merged0': -3
!foo '  ': null
?
     - |-
          12:34:56


: true

Corpus

grammarvalid, vouched for up to construct
json/not-representableopen from construct on: each parser's stance decides
featuresnode/anchor node/tag-local node/tag-shorthand presentation/block-literal presentation/chomp-padded presentation/explicit-key presentation/key-below-the-indicator presentation/plain presentation/property-line presentation/quoted-single presentation/tag-before-anchor value/bool value/int value/mapping value/merge-key value/non-string-key value/null value/sequence
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3 yamlstar

refuse by the loader

libfyaml

accept, then the loader refuses past parse

perlref

accept

value

No source answered.

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted refuse by the loader not scored n/i TypeError: unhashable type: 'sequence'
yamlstar rejected, explained refuse by the loader not scored n/i tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" Error: Unknown tag: tag:yaml.org,2002:merge
yaml.v3 rejected, explained refuse by the loader not scored refused collection-key: yaml.v3 decodes a mapping into a Go map, and a Go map cannot take a sequence or a mapping as a key: "? [1, 2]" rejects the document yaml.v3: yaml: invalid map key: []interface {}{"12:34:56"}
go-yaml rejected, explained refuse by the loader not scored refused json-cannot-write: codec.ToJSON rejects a value JSON cannot hold: .inf, .nan, a collection as a key; the corpus tags some of these documents json/not-representable and leaves others untagged [9:6] a sequence cannot be a JSON key

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.