sha256 f164b4fa2b0394dcdf3fd0e096f69d94c638821a19e0010effa2f609be516287
%YAML 1.2
---
# c1
? ! "\U0000002B\U00000030\U00000062\U00000031\U00000031"
: ~
# c2
? "\U00000335\U0000009F"
:
# c3
? true
: &a1 {}
| grammar | valid, vouched for up to construct |
| tags | none |
| features | node/anchor node/tag-non-specific presentation/comment-above presentation/document-marker presentation/escape-long presentation/explicit-key presentation/flow-collection presentation/plain presentation/quoted-double presentation/yaml-directive value/empty-collection value/mapping value/non-string-key value/null |
| meaning (yaml-1.2-core) | {"+0b11":null,"̵":{"true":{}}} |
go-yaml libfyaml perlref yamlstar
accept
yaml.v3
refuse by the parser
go-yaml libfyaml
{"+0b11":null,"̵":{"true":{}}}yamlstar
{"4348984949":null,"821159":{"true":{}}}
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: escape-as-decimal: the reference parser writes a \x, \u or \U escape as the decimal number of its code point instead of the character: "\u00e9" comes back as "233", and "\x2D\x61" as "4597" | |
| 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.