Ticket #292 (new defect)
Opened 5 months ago
Quoted array/collection keys?
|Reported by:||libyaml@…||Owned by:||xi|
How come some array/collection keys are emitted in quotes, and, respectively, have to be in quotes to be parsed correctly?
Keys in question are, e.g.: n, no, y, yes (but not: ye, 3, m...)
I feel like there's pattern (which I couldn't find documentation of) and that I'm missing something here. I'm sorry if this is a dumb question.
I haven't encountered this behavior (which somewhat impacts "human writeability") in other parsers. Note: I use the PHP/PECL version 0.1.4:
--- m: 1 "yes": 2 ...