sha256 363a0c7745eebf49e00dd77912676f24b8a8ddf7ba5c1a33f3c933e32d8fd34d
%YAML 1.2
%TAG !x! tag:yaml.org,2002:
---
{? !x!str 'base': &m1 {? 'b0': 1, ? 'b1': -5}, ? 'item': {? &k1 <<: *m1, ? 'd0': 7, ? 'b0': 99}} # c1
---
null # c2
---
True # c3
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| features | break/crlf encoding/byte-order-mark node/alias node/anchor node/tag-handle presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/multi-document presentation/plain presentation/quoted-single presentation/tag-directive presentation/yaml-directive value/bool value/int value/mapping value/merge-key value/non-string-key value/null |
| meaning (none stated) | |
go-yaml libfyaml perlref yamlstar
accept
yaml.v3
refuse by the parser
go-yaml libfyaml
{"base":{"b0":1,"b1":-5},"item":{"\u003c\u003c":{"b0":1,"b1":-5},"b0":99,"d0":7}}
null
trueyamlstar
[{"base":{"b0":1,"b1":-5},"item":{"b0":99,"b1":-5,"d0":7}},null,true]
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | not scored | n/i | ||
| yamlstar | accepted accept | not scored | n/i | ||
| yaml.v3 | rejected, explained refuse by the parser | not scored | refused | 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 | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.