Open cassiel opened 11 years ago
I ran into this when trying to parse RAML: http://raml.org/
It uses numeric keys representing HTTP response codes.
I discovered a workaround -- apparently the bug is in the behavior of "keywordizing" the keys in a YAML map.
If you use (parse-string yaml false), this indicates that keywordization shouldn't happen, and keys will be normal strings (actually this is what I wanted anyway, since I was converting the keywords to strings manually before).
This seems to be legal YAML, and SnakeYAML itself seems to handle it AFAICT.