sha256 03d00b1866be56fef416fb873b4f4271ebb857f5f850dcacbc84548b7b56e8e1
---
# c1
? "base"
:
&m1
# c2
? "b0"
: 1
# c3
? "b1"
: 9
# c4
? "item"
:
# c5
? <<
: *m1
# c6
? "d0"
: -8
# c7
? !foo "b0"
: 99
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/crlf node/alias node/anchor node/tag-local presentation/comment-above presentation/document-marker presentation/explicit-key presentation/plain presentation/property-line presentation/quoted-double presentation/tab-separation value/int value/mapping value/merge-key value/non-string-key |
| meaning (yaml-1.2-core) | {"base":{"b0":1,"b1":9},"item":{"\u003c\u003c":{"b0":1,"b1":9},"b0":99,"d0":-8}} |
go-yaml perlref
accept
libfyaml yaml.v3
refuse by the parser
yamlstar
refuse by the loader
go-yaml
{"base":{"b0":1,"b1":9},"item":{"\u003c\u003c":{"b0":1,"b1":9},"b0":99,"d0":-8}}
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:17:6: 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 | tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document value: tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document |
yaml.v3: yaml: line 3: found character that cannot start any token |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.