sha256 f613d05f49f5b161de13df6e553ca1a83137396d4f0e3b3143a27c6ff920b78b
0o1
| grammar | valid, vouched for up to construct |
| tags | none |
| features | presentation/number-octal presentation/plain value/int |
| meaning (yaml-1.2-core) | 1 |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml libfyaml yaml.v3
1
yamlstar
"0o1"
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: int-non-decimal-as-string: the loader leaves an integer written 0x or 0o a string, where the core schema reads 0x1A as 26 and 0o17 as 15 | |
| yaml.v3 | accepted accept | ok | same | ||
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.