sha256 05907d2d03281b7c456177413e29e5291688496ca17994ea63309522c0265d34
---
!
# c1
base:
&m1
# c2
b0: 3
# c3
b1: -1
# c4
item:
# c5
<<:
# c6
- *m1
# c7
- {!<tag:yaml.org,2002:str> c0: -6}
# c8
d0: 7
# c9
b0: !<tag:yaml.org,2002:int> 99
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/crlf node/alias node/anchor node/tag-non-specific node/tag-verbatim presentation/comment-above presentation/document-marker presentation/flow-collection presentation/plain presentation/property-line presentation/tab-separation value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | {"base":{"b0":3,"b1":-1},"item":{"\u003c\u003c":[{"b0":3,"b1":-1},{"c0":-6}],"b0":99,"d0":7}} |
go-yaml libfyaml perlref yamlstar
accept
yaml.v3
refuse by the parser
go-yaml libfyaml
{"base":{"b0":3,"b1":-1},"item":{"\u003c\u003c":[{"b0":3,"b1":-1},{"c0":-6}],"b0":99,"d0":7}}yamlstar
{"base":{"b0":3,"b1":-1},"item":{"b0":99,"b1":-1,"c0":-6,"d0":7}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| 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 | 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 15: 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.