sha256 3916d5a6f1b3694c2050b258561e611e1e25cda5f9a91371d98499dc1c2def9b
%YAML 1.2
---
? base
: # c1
&m1
? b0
: -1 # c2
? b1
: 0o2 # c3
? item
: # c4
? <<
: &m2 {? c0: 0o4} # c5
? d0
: -8 # c6
? !foo d1
: -2 # c7
? b0
: 0o143 # c8
? again
: *m2 # c9
| grammar | valid, vouched for up to construct |
| tags | none |
| features | node/alias node/anchor node/tag-local presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/number-octal presentation/plain presentation/property-line presentation/tab-separation presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key |
| meaning (yaml-1.2-core) | {"again":{"c0":4},"base":{"b0":-1,"b1":2},"item":{"\u003c\u003c":{"c0":4},"b0":99,"d0":-8,"d1":-2}} |
go-yaml perlref
accept
libfyaml yaml.v3
refuse by the parser
yamlstar
refuse by the loader
go-yaml
{"again":{"c0":4},"base":{"b0":-1,"b1":2},"item":{"\u003c\u003c":{"c0":4},"b0":99,"d0":-8,"d1":-2}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | rejected, explained refuse by the parser | rejected, explained | n/i | tab-after-explicit-key: fy-tool rejects the ':' of an explicit entry whose '?' a tab follows: "?\ta\n: b" is rejected, where s-separate takes the tab before a scalar key value: tab-after-explicit-key: fy-tool rejects the ':' of an explicit entry whose '?' a tab follows: "?\ta\n: b" is rejected, where s-separate takes the tab before a scalar key |
stdin:4:1: error: Indentation used tabs for ':' indicator |
| yamlstar | rejected, explained refuse by the loader | rejected, explained | 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" value: 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: !foo |
| yaml.v3 | rejected, explained refuse by the parser | rejected, explained | refused | yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document value: yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document |
yaml.v3: yaml: found incompatible YAML document |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.