sha256 5a7808a5c64d5166b020d1ef3b942c7328ae05f0d7638a6af7ec2685c631627a
{?}
| grammar | invalid |
| tags | none |
| features | none |
| meaning (none stated) | |
go-yaml perlref yamlstar
refuse by the parser
libfyaml yaml.v3
accept
libfyaml
{"?":null}yaml.v3
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | rejected, invalid refuse by the parser | n/i | n/i | ||
| libfyaml | accepted, explained accept | not scored | n/i | plain-question-mark-before-flow-indicator: fy-tool reads a lone '?' right before ']', '}' or ',' as the plain scalar "?", where [126] ns-plain-first needs an ns-plain-safe character after it and [150] a separation after the '?' indicator: "[?]" is accepted as ["?"] | |
| yamlstar | rejected, invalid refuse by the parser | not scored | n/i | Error: parse: Parser finished before end of input | |
| yaml.v3 | accepted, explained accept | not scored | same | question-mark-before-closing-brace: yaml.v3 takes a lone '?' right before '}' as an explicit key with an empty key and value, where [142] needs a separation after the '?' indicator and [126] keeps it from opening a plain scalar: "{?}" is accepted. It rejects "[?]", and the valid "[? ]" with it | |
| go-yaml | rejected, invalid refuse by the parser | not scored | refused | [1:2] '?' is not a scalar, and an explicit key needs a space after it |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.