sha256 1c2599440587d55878f7338c7c345a925d456c4903fe2da9529dd18aec574d34
%TAG !n-1! tag:yaml.org,2002: --- ! # c1 ' leading': NULL # c2 # c3 !n-1!str '12:34:56': NULL # c4 # c5 NULL: >- on # c6 &a1 'q6B': true # c7
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/cr node/anchor node/tag-handle node/tag-non-specific presentation/block-folded presentation/chomp-padded presentation/comment-above presentation/comment-inline presentation/document-marker presentation/plain presentation/quoted-single presentation/tag-directive value/bool value/mapping value/non-string-key value/null value/string |
| meaning (yaml-1.2-core) | {" leading":null,"12:34:56":null,"null":"on","q6B":true} |
go-yaml libfyaml yaml.v3
accept
perlref yamlstar
refuse by the parser
go-yaml libfyaml
{" leading":null,"12:34:56":null,"null":"on","q6B":true}yaml.v3
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | rejected, explained refuse by the parser | n/i | n/i | lone-cr-break: the parser takes a lone CR as a line break in some places and not in others: "x\r\r", "x\r# c", "!foo\r- a", "\r!" and an empty line written "\n\r" reject the document, where [28] b-break takes a lone CR. Any valid document holding a lone CR is covered, so a defect of another kind in such a document is hidden | |
| libfyaml | accepted accept | ok | n/i | ||
| yamlstar | rejected, explained refuse by the parser | rejected, explained | n/i | lone-cr-break: the reference parser takes a lone CR as a line break in some places and not in others: "x\r\r", "x\r# c", "!foo\r- a", "\r!" and an empty line written "\n\r" reject the document, where [28] b-break takes a lone CR. Any valid document holding a lone CR is covered, so a defect of another kind in such a document is hidden value: lone-cr-break: the reference parser takes a lone CR as a line break in some places and not in others: "x\r\r", "x\r# c", "!foo\r- a", "\r!" and an empty line written "\n\r" reject the document, where [28] b-break takes a lone CR. Any valid document holding a lone CR is covered, so a defect of another kind in such a document is hidden |
Error: parse: Parser finished before end of input |
| yaml.v3 | accepted accept | different, explained | same | value: json-cannot-write: yaml.v3 decodes a mapping with a key that is not a string into a map[any]any, which encoding/json cannot write, so the runner has no value for the document: "-0.0: true" | |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.